try to warm the cache to help with restart / traefik not noticing

This commit is contained in:
2025-10-25 18:06:38 +11:00
parent bd6c9c1fbd
commit 90b3fe4c2f

View File

@@ -13,6 +13,9 @@ else
sudo -u pauser gunicorn --bind=0.0.0.0:80 --workers=1 --threads=1 main:app --env ENV="development" --error-logfile gunicorn.error.log --access-logfile gunicorn.log --capture-output --enable-stdio-inheritance --reload sudo -u pauser gunicorn --bind=0.0.0.0:80 --workers=1 --threads=1 main:app --env ENV="development" --error-logfile gunicorn.error.log --access-logfile gunicorn.log --capture-output --enable-stdio-inheritance --reload
fi fi
# warm the cache to see if this helps with odd restart 404s
curl -sf http://localhost/health
# this should never be invoked unless gunicorn fails -- in that case, at least # this should never be invoked unless gunicorn fails -- in that case, at least
# we will keep the container can login by hand and check the issue/error # we will keep the container can login by hand and check the issue/error
sleep 99999 sleep 99999