mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-05 13:27:54 +00:00
Attempt a few memory/connection optimizations
This commit is contained in:
parent
5881f2a6cd
commit
6a55555e48
1 changed files with 2 additions and 1 deletions
|
|
@ -84,7 +84,8 @@ namespace PluralKit.Bot
|
|||
|
||||
.AddSingleton<IDiscordClient, DiscordShardedClient>(_ => new DiscordShardedClient(new DiscordSocketConfig
|
||||
{
|
||||
MessageCacheSize = 5,
|
||||
MessageCacheSize = 0,
|
||||
ConnectionTimeout = 2*60*1000,
|
||||
ExclusiveBulkDelete = true,
|
||||
DefaultRetryMode = RetryMode.AlwaysRetry,
|
||||
// Commented this out since Debug actually sends, uh, quite a lot that's not necessary in production
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue