mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
don't fire master events if the queue is empty!
This commit is contained in:
parent
1421ed22d8
commit
185856ddbb
@ -1250,6 +1250,8 @@ class SaltRaetMasterEvents(ioflo.base.deeding.Deed):
|
||||
self.master_events.value = deque()
|
||||
|
||||
def action(self):
|
||||
if not self.master_events.value:
|
||||
return
|
||||
events = []
|
||||
for master in self.road_stack.value.remotes:
|
||||
master_uid = master
|
||||
|
Loading…
Reference in New Issue
Block a user