Fix undefined MACHINE_LEARNING_WORKER_TIMEOUT

Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
This commit is contained in:
Juhyung Park
2024-10-18 14:09:55 +09:00
parent df1076a9e3
commit 5b53ebb6c0

View File

@@ -167,6 +167,7 @@ cd $APP/machine-learning
: "\${IMMICH_PORT:=3003}"
: "\${MACHINE_LEARNING_WORKERS:=1}"
: "\${MACHINE_LEARNING_HTTP_KEEPALIVE_TIMEOUT_S:=2}"
: "\${MACHINE_LEARNING_WORKER_TIMEOUT:=300}"
exec gunicorn app.main:app \
-k app.config.CustomUvicornWorker \