Use default thread pool settings

This commit is contained in:
bao-qian 2016-04-22 22:42:43 +01:00
parent 681f57f703
commit 8476baacc7

View File

@ -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(); });