mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2025-05-09 14:34:10 +02:00
Reduce the minimum number of thread pool threads in Agent
This commit is contained in:
parent
2c413160f6
commit
f5b40a92e2
@ -17,6 +17,8 @@ PosixSignals.RegisterCancellation(shutdownCancellationTokenSource, static () =>
|
||||
PhantomLogger.Root.InformationHeading("Stopping Phantom Panel agent...");
|
||||
});
|
||||
|
||||
ThreadPool.SetMinThreads(workerThreads: 2, completionPortThreads: 1);
|
||||
|
||||
try {
|
||||
var fullVersion = AssemblyAttributes.GetFullVersion(Assembly.GetExecutingAssembly());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user