mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 00:27:41 +01:00
change to WEB_SERVER_GUNICORN_WAIT
This commit is contained in:
@@ -72,17 +72,17 @@ run_startup() {
|
||||
|
||||
wait_for_gunicorn_socket() {
|
||||
debug_log "Waiting for gunicorn socket file..."
|
||||
local retries=${WEB_SERVER_GUNICORN_RETRIES:=60}
|
||||
local retries=${WEB_SERVER_GUNICORN_WAIT:=30}
|
||||
|
||||
while [[ ! -S /tmp/gunicorn.sock && retries -gt 0 ]]; do
|
||||
sleep 0.5
|
||||
sleep 1
|
||||
((retries--))
|
||||
done
|
||||
|
||||
if [[ -S /tmp/gunicorn.sock ]]; then
|
||||
debug_log "Gunicorn socket file found"
|
||||
else
|
||||
warn_log "Gunicorn socket file not found after waiting!"
|
||||
warn_log "Gunicorn socket file not found after waiting ${WEB_SERVER_GUNICORN_WAIT:=30} seconds!"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -122,7 +122,7 @@ WEB_SERVER_KEEPALIVE=2
|
||||
WEB_SERVER_MAX_REQUESTS=1000
|
||||
WEB_SERVER_MAX_REQUESTS_JITTER=100
|
||||
WEB_SERVER_WORKER_CONNECTIONS=1000
|
||||
WEB_SERVER_GUNICORN_RETRIES=60
|
||||
WEB_SERVER_GUNICORN_WAIT=30
|
||||
IPV4_ONLY=false
|
||||
|
||||
# Redis Workers
|
||||
|
||||
Reference in New Issue
Block a user