[ui] ThumbnailCache: limit number of worker threads to 3

This commit is contained in:
mugulmd 2023-01-16 02:57:13 -08:00
parent 268f608344
commit dfb120c6d7

View file

@ -52,7 +52,7 @@ class ThumbnailCache(QObject):
thumbnailCreated = Signal(QUrl)
# Thread pool for running createThumbnail asynchronously on a fixed number of worker threads
pool = ThreadPool()
pool = ThreadPool(processes=3)
@staticmethod
def initialize():