mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-01 19:10:57 +00: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, {
|
gracefulShutdown(server, {
|
||||||
signals: "SIGINT SIGTERM",
|
signals: "SIGINT SIGTERM",
|
||||||
timeout: 30000, // timeout: 30 secs
|
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
|
forceExit: true, // triggers process.exit() at the end of shutdown process
|
||||||
onShutdown: shutdownFunction, // shutdown function (async) - e.g. for cleanup DB, ...
|
onShutdown: shutdownFunction, // shutdown function (async) - e.g. for cleanup DB, ...
|
||||||
finally: finalFunction, // finally function (sync) - e.g. for logging
|
finally: finalFunction, // finally function (sync) - e.g. for logging
|
||||||
|
|
Loading…
Add table
Reference in a new issue