mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-13 01:00:12 +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
|
.AddSingleton<IDiscordClient, DiscordShardedClient>(_ => new DiscordShardedClient(new DiscordSocketConfig
|
||||||
{
|
{
|
||||||
MessageCacheSize = 5,
|
MessageCacheSize = 0,
|
||||||
|
ConnectionTimeout = 2*60*1000,
|
||||||
ExclusiveBulkDelete = true,
|
ExclusiveBulkDelete = true,
|
||||||
DefaultRetryMode = RetryMode.AlwaysRetry,
|
DefaultRetryMode = RetryMode.AlwaysRetry,
|
||||||
// Commented this out since Debug actually sends, uh, quite a lot that's not necessary in production
|
// 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