From 030812cafe3be5e6bddd7f054ea6137f02db2d7c Mon Sep 17 00:00:00 2001 From: Jem <0x0xjem@gmail.com> Date: Thu, 3 Oct 2024 13:56:00 +0400 Subject: [PATCH] Align scheduler timeout with function timeout --- index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/index.ts b/index.ts index 1a6aa71..527c147 100644 --- a/index.ts +++ b/index.ts @@ -255,6 +255,7 @@ for (const subgraphName in subgraphNameToConfigs) { { schedule: "0 * * * *", // Start of every hour timeZone: "UTC", + attemptDeadline: `${functionTimeoutSeconds}s`, httpTarget: { httpMethod: "GET", uri: tokenHolderFunction.httpsTriggerUrl,