Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

listen for termination signals and gracefully shut down the app #28

Open
mrparkers opened this issue Oct 5, 2021 · 0 comments
Open

Comments

@mrparkers
Copy link
Contributor

the application needs to listen for termination signals such as SIGINT (which is typically sent when you use ctrl+C to stop the app locally) and SIGTERM (which is sent by Kubernetes when trying to shut down the running pod). when these signals are received, we need to stop listening for new slack messages, terminate any active connections to the database, then exit the process.

references:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant