Set a default nice level
Now that SponsorBlock is running, these jobs are using significant CPU resources. Setting a nice level to let other things run better while `ffmpeg` is running seems wise.
This commit is contained in:
1 parent
3130ff2816
commit
d34e1a204e
1 file changed
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/command/with-contenv bash
|
||||
|
||||
exec s6-setuidgid app \
|
||||
exec nice -n "${TUBESYNC_NICE:-1}" s6-setuidgid app \
|
||||
/usr/bin/python3 /app/manage.py process_tasks
|
||||
Reference in new issue
Block a user