mirror of
https://github.com/linuxserver/docker-diskover.git
synced 2026-02-20 04:57:50 +08:00
kill all redis workers in one command instead of 2
This commit is contained in:
parent
0d8d66fd8c
commit
cb09adc1b2
@ -24,9 +24,7 @@ fi
|
||||
|
||||
# empty existing redis queue
|
||||
echo "emptying current redis queues..."
|
||||
rq empty -u redis://${DISKOVER_ARRAY[REDIS_HOST]}:${DISKOVER_ARRAY[REDIS_PORT]} diskover_crawl
|
||||
sleep 3
|
||||
rq empty -u redis://${DISKOVER_ARRAY[REDIS_HOST]}:${DISKOVER_ARRAY[REDIS_PORT]} failed
|
||||
rq empty -u redis://${DISKOVER_ARRAY[REDIS_HOST]}:${DISKOVER_ARRAY[REDIS_PORT]} diskover_crawl diskover diskover_calcdir failed
|
||||
sleep 3
|
||||
|
||||
echo "killing dangling workers..."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user