Uvicorn overrides existing signal handlers. #1708
Unanswered
tchaton
asked this question in
Potential Issue
Replies: 3 comments
-
ping: this is an issue If you're running a main computation, and you want SIGINT to work on that main asyncio loop: it doesn't anymore: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Solution with aiohttp: then later: await runner.shutdown() |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From my experimentation,
I have found uvicorn overrides existing handlers.
In PyTorch Lightning, we resolve this using HandlerCompose: connectors.
It would be great if uvicorn could resolve this bug.
Beta Was this translation helpful? Give feedback.
All reactions