mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Reposition comment to bring it into context.
This commit is contained in:
parent
5c4e9d1b81
commit
2560774e72
@ -208,8 +208,8 @@ class SaltEvent(object):
|
||||
The linger timeout must be at least as long as this timeout
|
||||
'''
|
||||
self.push = self.context.socket(zmq.PUSH)
|
||||
# bug in 0MQ default send timeout of -1 (inifinite) is not infinite
|
||||
try:
|
||||
# bug in 0MQ default send timeout of -1 (inifinite) is not infinite
|
||||
self.push.setsockopt(zmq.SNDTIMEO, timeout)
|
||||
except AttributeError:
|
||||
# This is for ZMQ < 2.2 (Caught when ssh'ing into the Jenkins
|
||||
|
Loading…
Reference in New Issue
Block a user