We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
close connections to database mongodb if the admin killed rest service using Ctrl+C refer to the below code & links: process.on('SIGINT', function() { console.log('Got SIGINT. Press Control-D to exit.'); }); http://stackoverflow.com/questions/8813838/properly-close-mongooses-connection-once-youre-done http://stackoverflow.com/questions/19371821/do-i-need-to-manually-close-a-mongoose-connection
The text was updated successfully, but these errors were encountered:
No branches or pull requests
close connections to database mongodb if the admin killed rest service using Ctrl+C refer to the below code & links:
process.on('SIGINT', function() {
console.log('Got SIGINT. Press Control-D to exit.');
});
http://stackoverflow.com/questions/8813838/properly-close-mongooses-connection-once-youre-done
http://stackoverflow.com/questions/19371821/do-i-need-to-manually-close-a-mongoose-connection
The text was updated successfully, but these errors were encountered: