Add a random offset to the sleep value
This commit is contained in:
1 parent
7b081a7aaf
commit
d77ca0f7cc
1 file changed
+2
-1
@@ -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 network --duration 43200
|
--queue network --duration 43200 \
|
||||||
|
--sleep "10.${RANDOM}"
|
||||||
Reference in new issue
Block a user