We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9edfe4e commit ff22559Copy full SHA for ff22559
taskiq/cli/worker/run.py
@@ -117,6 +117,7 @@ def interrupt_handler(signum: int, _frame: Any) -> None:
117
loop = uvloop.new_event_loop() # type: ignore
118
else:
119
loop = asyncio.new_event_loop()
120
+ asyncio.set_event_loop(loop)
121
# This option signals that current
122
# broker is running as a worker.
123
# We must set this field before importing tasks,
0 commit comments