mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
PubChannel on_recv callback must be a coroutine
This commit is contained in:
parent
8a78c2d272
commit
0afc66c234
1 changed files with 2 additions and 2 deletions
|
@ -3231,10 +3231,10 @@ class Minion(MinionBase):
|
|||
): # A RuntimeError can be re-raised by Tornado on shutdown
|
||||
self.destroy()
|
||||
|
||||
def _handle_payload(self, payload):
|
||||
async def _handle_payload(self, payload):
|
||||
if payload is not None and payload["enc"] == "aes":
|
||||
if self._target_load(payload["load"]):
|
||||
self._handle_decoded_payload(payload["load"])
|
||||
await self._handle_decoded_payload(payload["load"])
|
||||
elif self.opts["zmq_filtering"]:
|
||||
# In the filtering enabled case, we'd like to know when minion sees something it shouldn't
|
||||
log.trace(
|
||||
|
|
Loading…
Add table
Reference in a new issue