Fix findhash initial delay
This commit is contained in:
parent
43bd8a2d6c
commit
c0b8e802ec
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue