lifecycle: bump celery healthcheck to 5s timeout
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org> #1627
This commit is contained in:
parent
0225bf9c99
commit
9679be39fa
|
@ -53,7 +53,7 @@ elif [[ "$1" == "healthcheck" ]]; then
|
||||||
if [[ $mode == "server" ]]; then
|
if [[ $mode == "server" ]]; then
|
||||||
curl --user-agent "goauthentik.io lifecycle Healthcheck" -I http://localhost:9000/-/health/ready/
|
curl --user-agent "goauthentik.io lifecycle Healthcheck" -I http://localhost:9000/-/health/ready/
|
||||||
elif [[ $mode == "worker" ]]; then
|
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
|
fi
|
||||||
else
|
else
|
||||||
python -m manage "$@"
|
python -m manage "$@"
|
||||||
|
|
Reference in a new issue