Fix findhash initial delay

This commit is contained in:
shortcutme 2017-10-03 15:53:00 +02:00
parent 43bd8a2d6c
commit c0b8e802ec
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ class WorkerManager(object):
# Wait for more file requests
if len(self.tasks) < 20 or high_priority:
time.sleep(0.01)
if len(self.tasks) > 90:
elif len(self.tasks) > 90:
time.sleep(5)
else:
time.sleep(0.5)