Increase minimum thread pool size
This commit is contained in:
parent
b6597c79d6
commit
c70556f5f9
@ -30,6 +30,9 @@ namespace PluralKit.Bot
|
|||||||
|
|
||||||
private async Task MainAsync()
|
private async Task MainAsync()
|
||||||
{
|
{
|
||||||
|
ThreadPool.SetMinThreads(32, 32);
|
||||||
|
ThreadPool.SetMaxThreads(128, 128);
|
||||||
|
|
||||||
Console.WriteLine("Starting PluralKit...");
|
Console.WriteLine("Starting PluralKit...");
|
||||||
|
|
||||||
InitUtils.Init();
|
InitUtils.Init();
|
||||||
|
Loading…
Reference in New Issue
Block a user