mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 19:57:07 +02:00
Use default thread pool settings
This commit is contained in:
@@ -46,9 +46,6 @@ namespace Wox
|
||||
WoxDirectroy.Executable = Directory.GetParent(Assembly.GetExecutingAssembly().Location).ToString();
|
||||
RegisterUnhandledException();
|
||||
|
||||
ThreadPool.SetMaxThreads(30, 10);
|
||||
ThreadPool.SetMinThreads(10, 5);
|
||||
|
||||
ImageLoader = new ImageLoader.ImageLoader();
|
||||
ThreadPool.QueueUserWorkItem(_ => { ImageLoader.PreloadImages(); });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user