Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Increase request retry interval

Chocobozzza63943feaeae
diff --git a/shared/server-commands/videos/streaming-playlists-command.ts b/shared/server-commands/videos/streaming-playlists-command.ts
index f4bdb34ed9..87aacc5f69 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)