You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use multiprocessing.Queue from my_process (see the sample code). The problem is that sanic won't stop on KeyboardInterrupt (even on repeated CTRL-C).
It looks like a bug, but I am not sure. I have tryed with several variations, without success. Please advice how to properly implement the intended communication and how to stop the process.
Is there an existing issue for this?
Describe the bug
I am trying to use
multiprocessing.Queue
frommy_process
(see the sample code). The problem is that sanic won't stop on KeyboardInterrupt (even on repeated CTRL-C).It looks like a bug, but I am not sure. I have tryed with several variations, without success. Please advice how to properly implement the intended communication and how to stop the process.
Code snippet
Expected Behavior
Clean shutdown on the first
CTRL-C
.How do you run Sanic?
Sanic CLI
Operating System
Linux
Sanic Version
Sanic 23.12.2; Routing 23.12.0
Additional context
No response
The text was updated successfully, but these errors were encountered: