mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Add warning for ZMQ < 3 to the master
This commit is contained in:
parent
ba31d92ee1
commit
ea5d8d532d
@ -167,6 +167,12 @@ class Master(SMaster):
|
||||
'''
|
||||
Create a salt master server instance
|
||||
'''
|
||||
# Warn if ZMQ < 3
|
||||
if int(zmq.zmq_version()[0]) < 3:
|
||||
log.warning('You have a version of ZMQ less than ZMQ 3! There are '
|
||||
'known connection keep-alive issues with ZMQ < 3 '
|
||||
'which may result in loss of contact with minions. '
|
||||
'Please upgrade your ZMQ!')
|
||||
SMaster.__init__(self, opts)
|
||||
|
||||
def _clear_old_jobs(self):
|
||||
|
Loading…
Reference in New Issue
Block a user