From a4a8cd39712c59119ad0be5cd584b158f06c5852 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 27 Jan 2021 09:09:59 +0100 Subject: Add missing niceness to ffmpeg thumbnail processes --- server/initializers/constants.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/initializers/constants.ts') diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 0b4b41273..a78a66d78 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts @@ -362,8 +362,8 @@ const VIDEO_RATE_TYPES: { [ id: string ]: VideoRateType } = { const FFMPEG_NICE: { [ id: string ]: number } = { // parent process defaults to niceness = 0 // reminder: lower = higher priority, max value is 19, lowest is -20 - THUMBNAIL: 2, // low value in order to avoid blocking server - LIVE: 9, // prioritize over VOD + LIVE: 5, // prioritize over VOD and THUMBNAIL + THUMBNAIL: 10, VOD: 15 } -- cgit v1.2.3