From 9fab2c602bbb9b3025372ca98ee18d564d555b03 Mon Sep 17 00:00:00 2001 From: Dieter Reinert Date: Mon, 6 Jan 2025 12:11:42 +0100 Subject: [PATCH] Remove: redundant code --- server/replays.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/replays.ts b/server/replays.ts index 51003157379c..200e9096d4b2 100644 --- a/server/replays.ts +++ b/server/replays.ts @@ -91,7 +91,7 @@ export const Replays = new class { return replayData; } - export async function retry(fn: () => Promise, retries: number = 3, delayMs: number = 1000): Promise { + async retry(fn: () => Promise, retries: number = 3, delayMs: number = 1000): Promise { let lastError: any; for (let attempt = 1; attempt <= retries; attempt++) { try {