fix gunicorn gvent

This commit is contained in:
hjlarry 2025-07-21 16:09:51 +08:00
parent e298732499
commit ee86ceb906
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ else
exec gunicorn \
--bind "${DIFY_BIND_ADDRESS:-0.0.0.0}:${DIFY_PORT:-5001}" \
--workers ${SERVER_WORKER_AMOUNT:-1} \
--worker-class ${SERVER_WORKER_CLASS:-geventwebsocket.gunicorn.workers.GeventWebSocketWorker} \
--worker-class ${SERVER_WORKER_CLASS:-gevent} \
--worker-connections ${SERVER_WORKER_CONNECTIONS:-10} \
--timeout ${GUNICORN_TIMEOUT:-200} \
app:app