Skip to content
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

Shut the process down gracefully #562

Open
dgaubert opened this issue Jan 15, 2019 · 1 comment
Open

Shut the process down gracefully #562

dgaubert opened this issue Jan 15, 2019 · 1 comment

Comments

@dgaubert
Copy link
Contributor

As per Node.js documentation warms, we should implement a graceful shutdown for the service whenever the process has to deal with uncaughtException or unhandledRejection events or when the process receives OS's signals such as SIGTERM and SIGINT. That means, we need to handle all incoming request before closing the server and liberate all the resources the process may have allocated, then we can exit the process gracefully.

@dgaubert
Copy link
Contributor Author

cc/ @CartoDB/rt-managers

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

No branches or pull requests

2 participants