mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Gather all tasks at once
This commit is contained in:
parent
ccf6353126
commit
d273aef431
1 changed files with 1 additions and 1 deletions
|
@ -2371,7 +2371,7 @@ class ClearFuncs(TransportMethods):
|
|||
tasks = set()
|
||||
for chan in self.channels:
|
||||
tasks.add(asyncio.create_task(chan.publish(load)))
|
||||
await asyncio.gather(*tasks)
|
||||
await asyncio.gather(*tasks)
|
||||
|
||||
@property
|
||||
def ssh_client(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue