diff options
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 6256cf38e..bec343bb7 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -316,6 +316,11 @@ const VIDEO_RATE_TYPES: { [ id: string ]: VideoRateType } = { | |||
316 | DISLIKE: 'dislike' | 316 | DISLIKE: 'dislike' |
317 | } | 317 | } |
318 | 318 | ||
319 | const FFMPEG_NICE: { [ id: string ]: number } = { | ||
320 | THUMBNAIL: 2, // 2 just for don't blocking servers | ||
321 | TRANSCODING: 15 | ||
322 | } | ||
323 | |||
319 | const VIDEO_CATEGORIES = { | 324 | const VIDEO_CATEGORIES = { |
320 | 1: 'Music', | 325 | 1: 'Music', |
321 | 2: 'Films', | 326 | 2: 'Films', |
@@ -570,6 +575,7 @@ export { | |||
570 | VIDEO_RATE_TYPES, | 575 | VIDEO_RATE_TYPES, |
571 | VIDEO_MIMETYPE_EXT, | 576 | VIDEO_MIMETYPE_EXT, |
572 | VIDEO_TRANSCODING_FPS, | 577 | VIDEO_TRANSCODING_FPS, |
578 | FFMPEG_NICE, | ||
573 | JOB_REQUEST_TIMEOUT, | 579 | JOB_REQUEST_TIMEOUT, |
574 | JOB_REQUEST_TTL, | 580 | JOB_REQUEST_TTL, |
575 | USER_PASSWORD_RESET_LIFETIME, | 581 | USER_PASSWORD_RESET_LIFETIME, |