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,4 +1,4 @@
|
|||||||
#!/command/with-contenv bash
|
#!/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
|
/usr/bin/python3 /app/manage.py process_tasks
|
||||||
|
|||||||
Reference in New Issue
Block a user