Increase minimum thread pool size

This commit is contained in:
Ske 2019-12-23 00:28:19 +01:00
parent b6597c79d6
commit c70556f5f9

View File

@ -30,6 +30,9 @@ namespace PluralKit.Bot
private async Task MainAsync()
{
ThreadPool.SetMinThreads(32, 32);
ThreadPool.SetMaxThreads(128, 128);
Console.WriteLine("Starting PluralKit...");
InitUtils.Init();