-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bot not receiving termination signals #62
Comments
Could be related to this: https://stackoverflow.com/questions/62853875/stopping-python-container-is-slow-sigterm-not-passed-to-python-process. If that's the problem, we can bake |
Sadly our issue is different, I have a similar python script set up to detect sigint but it prints nothing |
Okay, I've tinkered a bit:
|
I'm actually unable to replicate this - it doesn't outside of docker either. Could this be because the handlers are registered in a module that isn't the calling one? |
When run outside of docker,
SIGINT
/SIGTERM
appear to work fine. Otherwise, the bot is killed but does not appear to have received the signal.The text was updated successfully, but these errors were encountered: