update maxRetries to extend the retry duration for task execution

This commit is contained in:
2025-05-01 14:03:49 -03:00
parent 69b4b135f7
commit c58b868d1f

View File

@ -118,7 +118,7 @@ export async function task(roundNumber: number): Promise<void> {
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) {