mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Merge pull request #15351 from overleaf/em-graceful-shutdown
Web graceful shutdown adjustments GitOrigin-RevId: f940f73933065060956b5797cc43b14faaf4ac60
This commit is contained in:
@@ -550,10 +550,8 @@ module.exports = {
|
||||
behindProxy: false,
|
||||
|
||||
// Delay before closing the http server upon receiving a SIGTERM process signal.
|
||||
gracefulShutdownDelayInMs: parseInt(
|
||||
process.env.GRACEFUL_SHUTDOWN_DELAY || 30 * seconds,
|
||||
10
|
||||
),
|
||||
gracefulShutdownDelayInMs:
|
||||
parseInt(process.env.GRACEFUL_SHUTDOWN_DELAY_SECONDS ?? '5', 10) * seconds,
|
||||
|
||||
// Expose the hostname in the `X-Served-By` response header
|
||||
exposeHostname: process.env.EXPOSE_HOSTNAME === 'true',
|
||||
|
||||
Reference in New Issue
Block a user