Enable user setting for number of sync threads

This commit is contained in:
croneter 2018-11-05 14:03:07 +01:00
parent 8205e19668
commit 6e83a549d3

View file

@ -201,7 +201,8 @@ class BackgroundWorker:
class BackgroundThreader: class BackgroundThreader:
def __init__(self, name=None, worker_count=8): def __init__(self, name=None,
worker_count=int(utils.settings('syncThreadNumber'))):
self.name = name self.name = name
self._queue = MutablePriorityQueue() self._queue = MutablePriorityQueue()
self._abort = False self._abort = False