From 86ebf7e8ade4e7029cdd0181c3f1f170476765e2 Mon Sep 17 00:00:00 2001 From: Altaf Shaikh Date: Fri, 5 Aug 2022 18:31:17 +0500 Subject: [PATCH 1/2] Fix Default Timeout Value as per Docs --- src/factories/createInternalHttpTerminator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/factories/createInternalHttpTerminator.ts b/src/factories/createInternalHttpTerminator.ts index 9cc2f8c2..3a6b49b8 100644 --- a/src/factories/createInternalHttpTerminator.ts +++ b/src/factories/createInternalHttpTerminator.ts @@ -18,7 +18,7 @@ const log = Logger.child({ }); const configurationDefaults = { - gracefulTerminationTimeout: 1_000, + gracefulTerminationTimeout: 5000, }; export const createInternalHttpTerminator = ( From cdd141eab1987bde3d17f84949f9c59aecc8184f Mon Sep 17 00:00:00 2001 From: Altaf Shaikh Date: Fri, 5 Aug 2022 20:44:47 +0500 Subject: [PATCH 2/2] Fixed lint error --- src/factories/createInternalHttpTerminator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/factories/createInternalHttpTerminator.ts b/src/factories/createInternalHttpTerminator.ts index 3a6b49b8..9330ce8d 100644 --- a/src/factories/createInternalHttpTerminator.ts +++ b/src/factories/createInternalHttpTerminator.ts @@ -18,7 +18,7 @@ const log = Logger.child({ }); const configurationDefaults = { - gracefulTerminationTimeout: 5000, + gracefulTerminationTimeout: 5_000, }; export const createInternalHttpTerminator = (