Set fix limit of 6 worker threads
This commit is contained in:
parent
45fb84e697
commit
f32b5c1e71
1 changed files with 1 additions and 2 deletions
|
@ -259,8 +259,7 @@ class NonstoppingBackgroundWorker(BackgroundWorker):
|
|||
|
||||
|
||||
class BackgroundThreader:
|
||||
def __init__(self, name=None, worker=BackgroundWorker,
|
||||
worker_count=int(utils.settings('syncThreadNumber'))):
|
||||
def __init__(self, name=None, worker=BackgroundWorker, worker_count=6):
|
||||
self.name = name
|
||||
self._queue = MutablePriorityQueue()
|
||||
self._abort = False
|
||||
|
|
Loading…
Reference in a new issue