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:
tcely
2025-01-27 16:12:52 -05:00
committed by GitHub
parent 3130ff2816
commit d34e1a204e

View File

@@ -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