aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/config.ts')
-rw-r--r--server/initializers/config.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts
index 3b44d82ed..930fd784e 100644
--- a/server/initializers/config.ts
+++ b/server/initializers/config.ts
@@ -188,6 +188,7 @@ const CONFIG = {
188 get ALLOW_ADDITIONAL_EXTENSIONS () { return config.get<boolean>('transcoding.allow_additional_extensions') }, 188 get ALLOW_ADDITIONAL_EXTENSIONS () { return config.get<boolean>('transcoding.allow_additional_extensions') },
189 get ALLOW_AUDIO_FILES () { return config.get<boolean>('transcoding.allow_audio_files') }, 189 get ALLOW_AUDIO_FILES () { return config.get<boolean>('transcoding.allow_audio_files') },
190 get THREADS () { return config.get<number>('transcoding.threads') }, 190 get THREADS () { return config.get<number>('transcoding.threads') },
191 get CONCURRENCY () { return config.get<number>('transcoding.concurrency') },
191 get PROFILE () { return config.get<string>('transcoding.profile') }, 192 get PROFILE () { return config.get<string>('transcoding.profile') },
192 RESOLUTIONS: { 193 RESOLUTIONS: {
193 get '0p' () { return config.get<boolean>('transcoding.resolutions.0p') }, 194 get '0p' () { return config.get<boolean>('transcoding.resolutions.0p') },
@@ -237,6 +238,8 @@ const CONFIG = {
237 }, 238 },
238 IMPORT: { 239 IMPORT: {
239 VIDEOS: { 240 VIDEOS: {
241 get CONCURRENCY () { return config.get<number>('import.videos.concurrency') },
242
240 HTTP: { 243 HTTP: {
241 get ENABLED () { return config.get<boolean>('import.videos.http.enabled') }, 244 get ENABLED () { return config.get<boolean>('import.videos.http.enabled') },
242 get FORCE_IPV4 () { return config.get<boolean>('import.videos.http.force_ipv4') }, 245 get FORCE_IPV4 () { return config.get<boolean>('import.videos.http.force_ipv4') },