mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
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:
parent
4b28e510f1
commit
ebc7cde9cb
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue