Skip to content

The best practices to prevent unexpected application crashes, that maintains an open database connection and others unwanted events.

Notifications You must be signed in to change notification settings

Ricardo-Costa/nodejs-graceful-shutdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJs Graceful Shutdown

The best practices to prevent unexpected application crashes, that maintains an open database connection and others unwanted events.

The Code

Test Function

  • Start Application
    • npm run start
    • Or in Debug mode: npm run start:debug
  • Press the keys ( Events should be launched )
    • ctrl + c
  • Force crash by request ( Events should be launched )
    • npm run crash

About

The best practices to prevent unexpected application crashes, that maintains an open database connection and others unwanted events.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published