mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
parent
a2a7f1527b
commit
4105e2abfb
1 changed files with 4 additions and 1 deletions
|
@ -94,7 +94,10 @@ def minion_process(queue):
|
|||
random_delay = randint(1, delay)
|
||||
log.info('Sleeping random_reauth_delay of {0} seconds'.format(random_delay))
|
||||
# preform delay after minion resources have been cleaned
|
||||
queue.put(random_delay)
|
||||
if minion.options.daemon:
|
||||
salt_minion()
|
||||
else:
|
||||
queue.put(random_delay)
|
||||
else:
|
||||
queue.put(0)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue