Skip to content

Commit

Permalink
Lower amount of retries
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Oct 14, 2024
1 parent 38270fe commit 7326752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/engine/src/utils/retry.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export async function withRetry<TResult>(
fn: (attempt: number) => TResult | Promise<TResult>,
{
maxRetries = 3,
maxRetries = 1,
onError,
delay,
}: {
Expand Down

0 comments on commit 7326752

Please sign in to comment.