diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-15 11:44:33 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-15 11:44:33 +0200 |
commit | a63943feaeae0fa5f66a06b676de558b86f03299 (patch) | |
tree | ac3d3d8a6548b405e85333de1d7b4c0f456c6102 /shared | |
parent | 339d3fba832daa916f497543b8e03f2fb5ffe12b (diff) | |
download | PeerTube-a63943feaeae0fa5f66a06b676de558b86f03299.tar.gz PeerTube-a63943feaeae0fa5f66a06b676de558b86f03299.tar.zst PeerTube-a63943feaeae0fa5f66a06b676de558b86f03299.zip |
Increase request retry interval
CI seems to have a slow disk?
Diffstat (limited to 'shared')
-rw-r--r-- | shared/server-commands/videos/streaming-playlists-command.ts | 6 |
1 files 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 { | |||
31 | 31 | ||
32 | return result | 32 | return result |
33 | } catch (err) { | 33 | } catch (err) { |
34 | if (!withRetry || currentRetry > 5) throw err | 34 | if (!withRetry || currentRetry > 10) throw err |
35 | 35 | ||
36 | await wait(250) | 36 | await wait(250) |
37 | 37 | ||
@@ -66,7 +66,7 @@ export class StreamingPlaylistsCommand extends AbstractCommand { | |||
66 | 66 | ||
67 | return result | 67 | return result |
68 | } catch (err) { | 68 | } catch (err) { |
69 | if (!withRetry || currentRetry > 5) throw err | 69 | if (!withRetry || currentRetry > 10) throw err |
70 | 70 | ||
71 | await wait(250) | 71 | await wait(250) |
72 | 72 | ||
@@ -99,7 +99,7 @@ export class StreamingPlaylistsCommand extends AbstractCommand { | |||
99 | 99 | ||
100 | return result | 100 | return result |
101 | } catch (err) { | 101 | } catch (err) { |
102 | if (!withRetry || currentRetry > 5) throw err | 102 | if (!withRetry || currentRetry > 10) throw err |
103 | 103 | ||
104 | await wait(250) | 104 | await wait(250) |
105 | 105 | ||