diff options
Diffstat (limited to 'shared/server-commands')
-rw-r--r-- | shared/server-commands/server/servers-command.ts | 1 | ||||
-rw-r--r-- | shared/server-commands/videos/streaming-playlists-command.ts | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/shared/server-commands/server/servers-command.ts b/shared/server-commands/server/servers-command.ts index 19645cb93..f174a2aa0 100644 --- a/shared/server-commands/server/servers-command.ts +++ b/shared/server-commands/server/servers-command.ts | |||
@@ -44,6 +44,7 @@ export class ServersCommand extends AbstractCommand { | |||
44 | 44 | ||
45 | await copy(origin, join('artifacts', destname)) | 45 | await copy(origin, join('artifacts', destname)) |
46 | } | 46 | } |
47 | console.log(this.server.parallel) | ||
47 | 48 | ||
48 | if (this.server.parallel) { | 49 | if (this.server.parallel) { |
49 | const promise = saveGithubLogsIfNeeded() | 50 | const promise = saveGithubLogsIfNeeded() |
diff --git a/shared/server-commands/videos/streaming-playlists-command.ts b/shared/server-commands/videos/streaming-playlists-command.ts index 950808b60..e7448aa69 100644 --- a/shared/server-commands/videos/streaming-playlists-command.ts +++ b/shared/server-commands/videos/streaming-playlists-command.ts | |||
@@ -14,7 +14,7 @@ export class StreamingPlaylistsCommand extends AbstractCommand { | |||
14 | withRetry?: boolean // default false | 14 | withRetry?: boolean // default false |
15 | currentRetry?: number | 15 | currentRetry?: number |
16 | }): Promise<string> { | 16 | }): Promise<string> { |
17 | const { videoFileToken, reinjectVideoFileToken, withRetry, currentRetry = 1 } = options | 17 | const { videoFileToken, reinjectVideoFileToken, withRetry = false, currentRetry = 1 } = options |
18 | 18 | ||
19 | try { | 19 | try { |
20 | const result = await unwrapTextOrDecode(this.getRawRequest({ | 20 | const result = await unwrapTextOrDecode(this.getRawRequest({ |
@@ -51,7 +51,7 @@ export class StreamingPlaylistsCommand extends AbstractCommand { | |||
51 | withRetry?: boolean // default false | 51 | withRetry?: boolean // default false |
52 | currentRetry?: number | 52 | currentRetry?: number |
53 | }) { | 53 | }) { |
54 | const { withRetry, currentRetry = 1 } = options | 54 | const { withRetry = false, currentRetry = 1 } = options |
55 | 55 | ||
56 | try { | 56 | try { |
57 | const result = await unwrapBody<Buffer>(this.getRawRequest({ | 57 | const result = await unwrapBody<Buffer>(this.getRawRequest({ |
@@ -85,7 +85,7 @@ export class StreamingPlaylistsCommand extends AbstractCommand { | |||
85 | withRetry?: boolean // default false | 85 | withRetry?: boolean // default false |
86 | currentRetry?: number | 86 | currentRetry?: number |
87 | }) { | 87 | }) { |
88 | const { withRetry, currentRetry = 1 } = options | 88 | const { withRetry = false, currentRetry = 1 } = options |
89 | 89 | ||
90 | try { | 90 | try { |
91 | const result = await unwrapBodyOrDecodeToJSON<{ [ id: string ]: string }>(this.getRawRequest({ | 91 | const result = await unwrapBodyOrDecodeToJSON<{ [ id: string ]: string }>(this.getRawRequest({ |