Revert job chunk wait time change

Reverting the sleep time from 0.0001 back to 0.01, sleeping such a short
amount of time eats up CPU resources needlessly.
This commit is contained in:
Daniel A. Wozniak 2018-05-29 12:34:35 -07:00
parent 4b28e510f1
commit ebc7cde9cb
No known key found for this signature in database
GPG key ID: 166B9D2C06C82D61

View file

@ -2065,7 +2065,7 @@ class State(object):
while True:
if self.reconcile_procs(running):
break
time.sleep(0.0001)
time.sleep(0.01)
ret = dict(list(disabled.items()) + list(running.items()))
return ret
@ -2197,7 +2197,7 @@ class State(object):
while True:
if self.reconcile_procs(run_dict):
break
time.sleep(0.0001)
time.sleep(0.01)
for chunk in chunks:
tag = _gen_tag(chunk)