Use more worker on initial sync

This commit is contained in:
shortcutme 2017-02-09 01:52:39 +01:00
parent 6ec1776f57
commit eb30eb90d6
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -126,7 +126,7 @@ class WorkerManager(object):
def getMaxWorkers(self):
if len(self.tasks) > 100:
return config.connected_limit * 2
return config.connected_limit * 3
else:
return config.connected_limit