mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 22:12:24 +01:00
Add script to clear worker queue
This commit is contained in:
parent
ffdd0bbafd
commit
028452c2ca
8
utils/worker_clear.sh
Executable file
8
utils/worker_clear.sh
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Clear worker queue
|
||||
|
||||
set -e
|
||||
. "${BASH_SOURCE%/*}/common.sh"
|
||||
|
||||
docker exec -it "$(container app)" sh -c "FLASK_CONFIG=../config.cfg celery -A app.tasks.celery purge -f"
|
Loading…
Reference in New Issue
Block a user