Unset development flag

This commit is contained in:
Mikhail Epifanov 2021-09-24 16:34:52 +02:00
parent 54cec2754d
commit a338da4c16

View file

@ -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