mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-06 13:57:54 +00:00
I've noticed the bot's CPU spiking for a few minutes as it's just connecting, and a lot of shard connections are timing out. I suspect it might be the overload of messages as the shards connect and Discord sends it the entire backlog at once. So, as an interim solution, I'm making it simply discard every message before the socket is fully connected. Hopefully this should help reduce the pressure. |
||
|---|---|---|
| .. | ||
| Commands | ||
| CommandSystem | ||
| Services | ||
| Bot.cs | ||
| BotConfig.cs | ||
| BotMetrics.cs | ||
| BreadcrumbExtensions.cs | ||
| ContextUtils.cs | ||
| Errors.cs | ||
| PluralKit.Bot.csproj | ||
| Utils.cs | ||