From a63943feaeae0fa5f66a06b676de558b86f03299 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 15 May 2023 11:44:33 +0200 Subject: [PATCH] Increase request retry interval CI seems to have a slow disk? --- .../server-commands/videos/streaming-playlists-command.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shared/server-commands/videos/streaming-playlists-command.ts b/shared/server-commands/videos/streaming-playlists-command.ts index f4bdb34ed..87aacc5f6 100644 --- a/shared/server-commands/videos/streaming-playlists-command.ts +++ b/shared/server-commands/videos/streaming-playlists-command.ts @@ -31,7 +31,7 @@ export class StreamingPlaylistsCommand extends AbstractCommand { return result } catch (err) { - if (!withRetry || currentRetry > 5) throw err + if (!withRetry || currentRetry > 10) throw err await wait(250) @@ -66,7 +66,7 @@ export class StreamingPlaylistsCommand extends AbstractCommand { return result } catch (err) { - if (!withRetry || currentRetry > 5) throw err + if (!withRetry || currentRetry > 10) throw err await wait(250) @@ -99,7 +99,7 @@ export class StreamingPlaylistsCommand extends AbstractCommand { return result } catch (err) { - if (!withRetry || currentRetry > 5) throw err + if (!withRetry || currentRetry > 10) throw err await wait(250) -- 2.41.0