From c58b868d1fd3ed4bfdead6c5998c7467161b350e Mon Sep 17 00:00:00 2001 From: HermanL02 Date: Thu, 1 May 2025 14:03:49 -0300 Subject: [PATCH] update maxRetries to extend the retry duration for task execution --- worker/src/task/1-task.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/src/task/1-task.ts b/worker/src/task/1-task.ts index 25a515b..93def75 100644 --- a/worker/src/task/1-task.ts +++ b/worker/src/task/1-task.ts @@ -118,7 +118,7 @@ export async function task(roundNumber: number): Promise { let requiredWorkResponse: Response = new Response(); let retryCount = 0; - const maxRetries = 18; // 3 minutes with 10 second intervals + const maxRetries = 36; // 6 minutes with 10 second intervals const retryDelay = 10000; // 10 seconds in milliseconds while (retryCount < maxRetries) {