mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +01:00
fix: SERVER_KEEPALIVE_TIMEOUT env variable should be seconds (#4130)
This changes SERVER_KEEPALIVE_TIMEOUT to take in seconds instead of milliseconds.
This commit is contained in:
parent
b329084a69
commit
608b1b9674
@ -166,9 +166,8 @@ const defaultServerOption: IServerOption = {
|
||||
process.env.ENABLE_HEAP_SNAPSHOT_ENPOINT,
|
||||
false,
|
||||
),
|
||||
keepAliveTimeout: parseEnvVarNumber(
|
||||
process.env.SERVER_KEEPALIVE_TIMEOUT,
|
||||
secondsToMilliseconds(15),
|
||||
keepAliveTimeout: secondsToMilliseconds(
|
||||
parseEnvVarNumber(process.env.SERVER_KEEPALIVE_TIMEOUT, 15),
|
||||
),
|
||||
headersTimeout: secondsToMilliseconds(61),
|
||||
enableRequestLogger: false,
|
||||
|
Loading…
Reference in New Issue
Block a user