Skip to content

Commit

Permalink
fix:timeout (TencentBlueKing#742)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lawrence-lkq authored Jul 9, 2024
1 parent f14c6f6 commit 45f5db8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dashboard/bin/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ fi

python manage.py collectstatic --no-input

command="gunicorn wsgi --env prometheus_multiproc_dir=/tmp/ -k gevent -w 8 -b [::]:${PORT:-6000} --timeout 60 --max-requests 1024 --timeout 60 --access-logfile - --error-logfile - --access-logformat '[%(h)s] %({request_id}i)s %(u)s %(t)s \"%(r)s\" %(s)s %(D)s %(b)s \"%(f)s\" \"%(a)s\"'"
command="gunicorn wsgi --env prometheus_multiproc_dir=/tmp/ -k gevent -w 8 -b [::]:${PORT:-6000} --max-requests 1024 --timeout 60 --access-logfile - --error-logfile - --access-logformat '[%(h)s] %({request_id}i)s %(u)s %(t)s \"%(r)s\" %(s)s %(D)s %(b)s \"%(f)s\" \"%(a)s\"'"
exec bash -c "$command"

0 comments on commit 45f5db8

Please sign in to comment.