Skip to content

feat(cache): add default limits for LimitedMemoryAdapter resources#378

Open
socram03 wants to merge 2 commits intomainfrom
feat/default-cache-limits
Open

feat(cache): add default limits for LimitedMemoryAdapter resources#378
socram03 wants to merge 2 commits intomainfrom
feat/default-cache-limits

Conversation

@socram03
Copy link
Copy Markdown
Member

@socram03 socram03 commented Apr 2, 2026

Summary

  • Add defaultCacheSettings with sensible per-resource limits for LimitedMemoryAdapter
  • Limits are scoped per guild/channel depending on the resource (e.g. messages are per channel, members per guild)
  • Accounts for boost-scaled resources (emojis: 500, stickers: 60)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@socram03 socram03 requested a review from a team as a code owner April 2, 2026 15:25
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 2, 2026

Open in StackBlitz

npm i https://pkg.pr.new/seyfert@378

commit: 439aeed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant