Correct max_wait -> max_auth_wait in MultiMinion

Fixes #25795
This commit is contained in:
Thomas Jackson 2015-07-31 09:03:38 -07:00
parent 088d73dfe7
commit 833950fb1e

View File

@ -484,7 +484,7 @@ class MultiMinion(MinionBase):
def __init__(self, opts):
super(MultiMinion, self).__init__(opts)
self.auth_wait = self.opts['acceptance_wait_time']
self.max_wait = self.opts['acceptance_wait_time_max']
self.max_auth_wait = self.opts['acceptance_wait_time_max']
self.io_loop = zmq.eventloop.ioloop.ZMQIOLoop()
@ -1978,6 +1978,9 @@ class MultiSyndic(MinionBase):
# sync (old behavior), cluster (only returns and publishes)
self.syndic_mode = self.opts.get('syndic_mode', 'sync')
self.auth_wait = self.opts['acceptance_wait_time']
self.max_auth_wait = self.opts['acceptance_wait_time_max']
self._has_master = threading.Event()
self.jid_forward_cache = set()