lifecycle: bump celery healthcheck to 5s timeout

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

#1627
This commit is contained in:
Jens Langhammer 2021-10-16 14:28:05 +02:00
parent 0225bf9c99
commit 9679be39fa
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ elif [[ "$1" == "healthcheck" ]]; then
if [[ $mode == "server" ]]; then
curl --user-agent "goauthentik.io lifecycle Healthcheck" -I http://localhost:9000/-/health/ready/
elif [[ $mode == "worker" ]]; then
celery -A authentik.root.celery inspect ping -d celery@$HOSTNAME
celery -A authentik.root.celery inspect ping -d celery@$HOSTNAME --timeout 5 -j
fi
else
python -m manage "$@"