Skip to content

Commit

Permalink
terminate deamon timeout raised from 60 seconds to 120 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
taeguscromis committed Feb 27, 2024
1 parent 973af2d commit 490dbd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config.json.sample
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"bindAddr": "0.0.0.0"
},
"restart": {
"terminateTimeout": 60,
"terminateTimeout": 120,
"errorForgetTime": 600,
"maxCloseErrors": 3,
"maxBlockTime": 3600,
Expand Down
2 changes: 1 addition & 1 deletion units/engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export function NodeGuard (cmdOptions, configOpts, rootPath, guardVersion) {

isStoping = true;
nodeProcess.kill('SIGTERM', {
forceKillAfterTimeout: (configOpts.restart.terminateTimeout || 60) * 1000
forceKillAfterTimeout: (configOpts.restart.terminateTimeout || 120) * 1000
});
}
}
Expand Down

0 comments on commit 490dbd6

Please sign in to comment.