From 7326752c98cb822fa8e1c9931e7a5e16ae89d405 Mon Sep 17 00:00:00 2001 From: Pontus Abrahamsson Date: Mon, 14 Oct 2024 18:59:14 +0200 Subject: [PATCH] Lower amount of retries --- apps/engine/src/utils/retry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/engine/src/utils/retry.ts b/apps/engine/src/utils/retry.ts index a8372be7e0..28ee0a68df 100644 --- a/apps/engine/src/utils/retry.ts +++ b/apps/engine/src/utils/retry.ts @@ -1,7 +1,7 @@ export async function withRetry( fn: (attempt: number) => TResult | Promise, { - maxRetries = 3, + maxRetries = 1, onError, delay, }: {