Skip to content

Commit

Permalink
perf: adjust max cache settings
Browse files Browse the repository at this point in the history
  • Loading branch information
tippfehlr committed Mar 9, 2024
1 parent d3de1c9 commit ee42ad0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modules/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ export const client = new Discord.Client({
...Options.DefaultMakeCacheSettings,
MessageManager: 0,
UserManager: {
maxSize: 5000,
maxSize: 25000,
keepOverLimit: user => user.id === user.client.user.id,
},
GuildMemberManager: {
maxSize: 1000,
maxSize: 5000,
keepOverLimit: member => member.id === member.client.user.id,
},
PresenceManager: 1000,
PresenceManager: 50000,
}),
sweepers: {
...Options.DefaultSweeperSettings,
Expand Down

0 comments on commit ee42ad0

Please sign in to comment.