mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-30 12:23:15 +02:00
Unset development flag
This commit is contained in:
parent
54cec2754d
commit
a338da4c16
1 changed files with 1 additions and 1 deletions
|
@ -1416,7 +1416,7 @@ function finalFunction() {
|
|||
gracefulShutdown(server, {
|
||||
signals: "SIGINT SIGTERM",
|
||||
timeout: 30000, // timeout: 30 secs
|
||||
development: true, // not in dev mode
|
||||
development: false, // not in dev mode
|
||||
forceExit: true, // triggers process.exit() at the end of shutdown process
|
||||
onShutdown: shutdownFunction, // shutdown function (async) - e.g. for cleanup DB, ...
|
||||
finally: finalFunction, // finally function (sync) - e.g. for logging
|
||||
|
|
Loading…
Add table
Reference in a new issue