From 0316710fc5c6e2419750f0e033c955d43af679ec Mon Sep 17 00:00:00 2001 From: Bryan Robitaille Date: Tue, 15 Oct 2024 08:51:40 -0400 Subject: [PATCH] fix: Increase default timeout to Notify (#867) --- lambda-code/nagware/lib/gc-notify-client.ts | 2 +- lambda-code/reliability/lib/gc-notify-client.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lambda-code/nagware/lib/gc-notify-client.ts b/lambda-code/nagware/lib/gc-notify-client.ts index e33e46c41..f53de7929 100644 --- a/lambda-code/nagware/lib/gc-notify-client.ts +++ b/lambda-code/nagware/lib/gc-notify-client.ts @@ -9,7 +9,7 @@ export class GCNotifyClient { private apiKey: string; private timeout: number; - public static default(apiKey: string, timeout: number = 2000): GCNotifyClient { + public static default(apiKey: string, timeout: number = 5000): GCNotifyClient { return new GCNotifyClient(API_URL, apiKey, timeout); } diff --git a/lambda-code/reliability/lib/gc-notify-client.ts b/lambda-code/reliability/lib/gc-notify-client.ts index e33e46c41..f53de7929 100644 --- a/lambda-code/reliability/lib/gc-notify-client.ts +++ b/lambda-code/reliability/lib/gc-notify-client.ts @@ -9,7 +9,7 @@ export class GCNotifyClient { private apiKey: string; private timeout: number; - public static default(apiKey: string, timeout: number = 2000): GCNotifyClient { + public static default(apiKey: string, timeout: number = 5000): GCNotifyClient { return new GCNotifyClient(API_URL, apiKey, timeout); }