mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-22 21:16:38 +00:00
Add a random offset to the sleep value
This commit is contained in:
parent
0011a4ef55
commit
045bfcbfd6
@ -2,4 +2,5 @@
|
|||||||
|
|
||||||
exec nice -n "${TUBESYNC_NICE:-1}" 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 \
|
||||||
--queue database --duration 86400 --sleep 30
|
--queue database --duration 86400 \
|
||||||
|
--sleep "30.${RANDOM}"
|
||||||
|
Loading…
Reference in New Issue
Block a user