Prevent using SyncWrapper with no reason

This commit is contained in:
vzhestkov 2024-05-13 13:42:25 +02:00 committed by Daniel Wozniak
parent ee4d5321f2
commit 36626d8d4f

View file

@ -86,7 +86,7 @@ class ReqServerChannel:
# other things needed for _auth
# Create the event manager
self.event = salt.utils.event.get_master_event(
self.opts, self.opts["sock_dir"], listen=False
self.opts, self.opts["sock_dir"], listen=False, io_loop=io_loop
)
self.auto_key = salt.daemons.masterapi.AutoKey(self.opts)
# only create a con_cache-client if the con_cache is active