mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
have to se a subscription filter on the publish socket - this thing is
cool I will have to use it to speed things up in the long run
This commit is contained in:
parent
fff3e2ed2e
commit
12c08a782a
1 changed files with 1 additions and 0 deletions
|
@ -90,6 +90,7 @@ class Minion(object):
|
|||
context = zmq.Context()
|
||||
socket = context.socket(zmq.SUB)
|
||||
socket.connect(master_pub)
|
||||
socket.setsockopt(zmq.SUBSCRIBE, '')
|
||||
while True:
|
||||
payload = socket.recv()
|
||||
self._handle_payload(payload)
|
||||
|
|
Loading…
Add table
Reference in a new issue