mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-14 00:31:58 +02:00
[ui] ThumbnailCache: limit number of worker threads to 3
This commit is contained in:
parent
268f608344
commit
dfb120c6d7
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ class ThumbnailCache(QObject):
|
||||||
thumbnailCreated = Signal(QUrl)
|
thumbnailCreated = Signal(QUrl)
|
||||||
|
|
||||||
# Thread pool for running createThumbnail asynchronously on a fixed number of worker threads
|
# Thread pool for running createThumbnail asynchronously on a fixed number of worker threads
|
||||||
pool = ThreadPool()
|
pool = ThreadPool(processes=3)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def initialize():
|
def initialize():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue