aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 0e4ee4a0a..182bdf9cc 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -356,8 +356,11 @@ const VIDEO_RATE_TYPES: { [ id: string ]: VideoRateType } = {
356} 356}
357 357
358const FFMPEG_NICE: { [ id: string ]: number } = { 358const FFMPEG_NICE: { [ id: string ]: number } = {
359 THUMBNAIL: 2, // 2 just for don't blocking servers 359 // parent process defaults to niceness = 0
360 TRANSCODING: 15 360 // reminder: lower = higher priority, max value is 19, lowest is -20
361 THUMBNAIL: 2, // low value in order to avoid blocking server
362 LIVE: 9, // prioritize over VOD
363 VOD: 15
361} 364}
362 365
363const VIDEO_CATEGORIES = { 366const VIDEO_CATEGORIES = {