Skip to content

Commit

Permalink
Prevent using SyncWrapper with no reason
Browse files Browse the repository at this point in the history
  • Loading branch information
vzhestkov authored Sep 25, 2024
1 parent d933c8f commit 936c298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/channel/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def post_fork(self, payload_handler, io_loop):
# 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
Expand Down

0 comments on commit 936c298

Please sign in to comment.