mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Remove clean up of push socket in publisher to fix race condition
The clean up was causing an inconsistency in the pull socket, this will need some more refinement, but for now the problem is fixed
This commit is contained in:
parent
080ddf14c2
commit
c291904a80
@ -1676,7 +1676,6 @@ class ClearFuncs(object):
|
||||
load['tgt'],
|
||||
load.get('tgt_type', 'glob')
|
||||
)
|
||||
try:
|
||||
return {
|
||||
'enc': 'clear',
|
||||
'load': {
|
||||
@ -1684,9 +1683,3 @@ class ClearFuncs(object):
|
||||
'minions': minions
|
||||
}
|
||||
}
|
||||
finally:
|
||||
if pub_sock.closed is False:
|
||||
pub_sock.setsockopt(zmq.LINGER, 1)
|
||||
pub_sock.close()
|
||||
if context.closed is False:
|
||||
context.term()
|
||||
|
Loading…
Reference in New Issue
Block a user