mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 03:37:10 +08:00
Use default thread pool settings
This commit is contained in:
parent
681f57f703
commit
8476baacc7
@ -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(); });
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user