Add a random offset to the sleep value

This commit is contained in:
tcely authored and GitHub committed 2025-04-08 14:20:59 -04:00
1 parent d77ca0f7cc
commit 0011a4ef55
1 file changed
+2 -1
@@ -2,4 +2,5 @@
exec nice -n "${TUBESYNC_NICE:-1}" s6-setuidgid app \
/usr/bin/python3 /app/manage.py process_tasks \
--queue filesystem --duration 43200 --sleep 20
--queue filesystem --duration 43200 \
--sleep "20.${RANDOM}"