From c70556f5f9e82ca2f0b62f7a64ffe760d86bb5bf Mon Sep 17 00:00:00 2001 From: Ske Date: Mon, 23 Dec 2019 00:28:19 +0100 Subject: [PATCH] Increase minimum thread pool size --- PluralKit.Bot/Bot.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PluralKit.Bot/Bot.cs b/PluralKit.Bot/Bot.cs index 803d81e7..f03dea5b 100644 --- a/PluralKit.Bot/Bot.cs +++ b/PluralKit.Bot/Bot.cs @@ -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();