From: Chocobozzz Date: Mon, 15 May 2023 09:44:33 +0000 (+0200) Subject: Increase request retry interval X-Git-Tag: v5.2.0-rc.1~145 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;ds=sidebyside;h=a63943feaeae0fa5f66a06b676de558b86f03299;p=github%2FChocobozzz%2FPeerTube.git Increase request retry interval CI seems to have a slow disk? --- 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)