mirror of https://github.com/Chocobozzz/PeerTube
parent
339d3fba83
commit
a63943feae
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue