Skip to content

Commit

Permalink
feat: added handling sigchld os signal to graceful shutdown the process
Browse files Browse the repository at this point in the history
  • Loading branch information
SerhiyGreench committed Apr 28, 2022
1 parent 871c01b commit b72685d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/PgIpLock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -375,3 +375,4 @@ async function terminate(): Promise<void> {
process.on('SIGTERM', terminate);
process.on('SIGINT', terminate);
process.on('SIGABRT', terminate);
process.on('SIGCHLD', terminate);

0 comments on commit b72685d

Please sign in to comment.