mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
change with sequence in event gathering
This commit is contained in:
parent
fc3b1cbaac
commit
e9ec1ae9b5
@ -71,7 +71,7 @@ class SaltEvent(object):
|
|||||||
if self.sub in socks and socks[self.sub] == zmq.POLLIN:
|
if self.sub in socks and socks[self.sub] == zmq.POLLIN:
|
||||||
raw = self.sub.recv()
|
raw = self.sub.recv()
|
||||||
return self.serial.loads(raw[20:])
|
return self.serial.loads(raw[20:])
|
||||||
if (time.time() - start) > wait:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def fire_event(self, data, tag=''):
|
def fire_event(self, data, tag=''):
|
||||||
|
Loading…
Reference in New Issue
Block a user