mirror of
https://github.com/langgenius/dify.git
synced 2026-04-28 03:36:36 +08:00
fix gunicorn gvent
This commit is contained in:
parent
e298732499
commit
ee86ceb906
@ -34,7 +34,7 @@ else
|
|||||||
exec gunicorn \
|
exec gunicorn \
|
||||||
--bind "${DIFY_BIND_ADDRESS:-0.0.0.0}:${DIFY_PORT:-5001}" \
|
--bind "${DIFY_BIND_ADDRESS:-0.0.0.0}:${DIFY_PORT:-5001}" \
|
||||||
--workers ${SERVER_WORKER_AMOUNT:-1} \
|
--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} \
|
--worker-connections ${SERVER_WORKER_CONNECTIONS:-10} \
|
||||||
--timeout ${GUNICORN_TIMEOUT:-200} \
|
--timeout ${GUNICORN_TIMEOUT:-200} \
|
||||||
app:app
|
app:app
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user