fix(core): Fix new graceful shutdown env being always overridden by deprecated env (#8503)

This commit is contained in:
Iván Ovejero
2024-02-01 11:10:40 +01:00
committed by GitHub
parent 88cf1823d3
commit cc41fc7c80
2 changed files with 5 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ export abstract class BaseCommand extends Command {
/**
* How long to wait for graceful shutdown before force killing the process.
*/
protected gracefulShutdownTimeoutInS: number = config.getEnv('generic.gracefulShutdownTimeout');
protected gracefulShutdownTimeoutInS = config.getEnv('generic.gracefulShutdownTimeout');
async init(): Promise<void> {
await initErrorHandling();