1
0
Fork 0
mirror of synced 2024-05-24 06:19:55 +12:00

ImageManager: Reduce thread count even more

This commit is contained in:
loathingKernel 2024-01-18 16:29:52 +02:00
parent 9ad47ba75b
commit 9b10a48704

View file

@ -82,7 +82,7 @@ class ImageManager(QObject):
self.device = ImageSize.Preset(1, QApplication.instance().devicePixelRatio())
self.threadpool = QThreadPool()
self.threadpool.setMaxThreadCount(6)
self.threadpool.setMaxThreadCount(4)
def __img_dir(self, app_name: str) -> Path:
return self.image_dir.joinpath(app_name)