aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-01-27 09:09:59 +0100
committerChocobozzz <me@florianbigard.com>2021-01-27 09:09:59 +0100
commita4a8cd39712c59119ad0be5cd584b158f06c5852 (patch)
tree9633e393153e1b5d0bde6d5b56f3410acea969f9 /server/initializers/constants.ts
parent5d84d717b246e7f6bed998481c817dc29e5c4948 (diff)
downloadPeerTube-a4a8cd39712c59119ad0be5cd584b158f06c5852.tar.gz
PeerTube-a4a8cd39712c59119ad0be5cd584b158f06c5852.tar.zst
PeerTube-a4a8cd39712c59119ad0be5cd584b158f06c5852.zip
Add missing niceness to ffmpeg thumbnail processes
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts4
1 files changed, 2 insertions, 2 deletions
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 } = {
362const FFMPEG_NICE: { [ id: string ]: number } = { 362const FFMPEG_NICE: { [ id: string ]: number } = {
363 // parent process defaults to niceness = 0 363 // parent process defaults to niceness = 0
364 // reminder: lower = higher priority, max value is 19, lowest is -20 364 // reminder: lower = higher priority, max value is 19, lowest is -20
365 THUMBNAIL: 2, // low value in order to avoid blocking server 365 LIVE: 5, // prioritize over VOD and THUMBNAIL
366 LIVE: 9, // prioritize over VOD 366 THUMBNAIL: 10,
367 VOD: 15 367 VOD: 15
368} 368}
369 369