diff options
author | Chocobozzz <me@florianbigard.com> | 2021-02-08 10:51:10 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-02-08 15:38:45 +0100 |
commit | 9129b7694d577322327ee79e9b9aa64deee92765 (patch) | |
tree | eb23b7a952048c3725f29109d38c36368976dec0 /shared/extra-utils/server/config.ts | |
parent | 81b46cbc3417c46263c210c61b51a84a457abaaa (diff) | |
download | PeerTube-9129b7694d577322327ee79e9b9aa64deee92765.tar.gz PeerTube-9129b7694d577322327ee79e9b9aa64deee92765.tar.zst PeerTube-9129b7694d577322327ee79e9b9aa64deee92765.zip |
Allow to specify transcoding and import jobs concurrency
Diffstat (limited to 'shared/extra-utils/server/config.ts')
-rw-r--r-- | shared/extra-utils/server/config.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/extra-utils/server/config.ts b/shared/extra-utils/server/config.ts index db5a473ca..efe569243 100644 --- a/shared/extra-utils/server/config.ts +++ b/shared/extra-utils/server/config.ts | |||
@@ -112,6 +112,7 @@ function updateCustomSubConfig (url: string, token: string, newConfig: DeepParti | |||
112 | allowAdditionalExtensions: true, | 112 | allowAdditionalExtensions: true, |
113 | allowAudioFiles: true, | 113 | allowAudioFiles: true, |
114 | threads: 1, | 114 | threads: 1, |
115 | concurrency: 3, | ||
115 | profile: 'default', | 116 | profile: 'default', |
116 | resolutions: { | 117 | resolutions: { |
117 | '0p': false, | 118 | '0p': false, |
@@ -153,6 +154,7 @@ function updateCustomSubConfig (url: string, token: string, newConfig: DeepParti | |||
153 | }, | 154 | }, |
154 | import: { | 155 | import: { |
155 | videos: { | 156 | videos: { |
157 | concurrency: 3, | ||
156 | http: { | 158 | http: { |
157 | enabled: false | 159 | enabled: false |
158 | }, | 160 | }, |