]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Increase request retry interval
authorChocobozzz <me@florianbigard.com>
Mon, 15 May 2023 09:44:33 +0000 (11:44 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 15 May 2023 09:44:33 +0000 (11:44 +0200)
CI seems to have a slow disk?

shared/server-commands/videos/streaming-playlists-command.ts

index f4bdb34ed9f39cca9441a990308f1cc10a8d9ba2..87aacc5f69ff2969d67c656ea644b9a4186a9e94 100644 (file)
@@ -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)