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

Let node terminate itself when all connections are closed #1

Open
kilianc opened this issue Aug 24, 2016 · 0 comments
Open

Let node terminate itself when all connections are closed #1

kilianc opened this issue Aug 24, 2016 · 0 comments

Comments

@kilianc
Copy link

kilianc commented Aug 24, 2016

This line shouldn't be necessary.

https://github.com/simonholmes/mongoose-default-connection/blob/master/model/db.js#L30

If I am doing something else in my code that will abruptly terminate the process.

@kilianc kilianc changed the title Let node close itself when all connections are shutdown Let node terminate itself when all connections are closed Aug 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant