Configure production setup for moving to single worker model

This commit is contained in:
sabaimran 2024-03-30 10:35:43 +05:30
parent 90c5b3c410
commit 928f273bbe
2 changed files with 2 additions and 3 deletions

View file

@ -1,7 +1,7 @@
import multiprocessing
bind = "0.0.0.0:42110"
workers = 8
workers = 1
worker_class = "uvicorn.workers.UvicornWorker"
timeout = 120
keep_alive = 60

View file

@ -1,5 +1,4 @@
FROM nvidia/cuda:12.2.0-devel-ubuntu22.04
# FROM ubuntu:jammy
FROM ubuntu:jammy
LABEL org.opencontainers.image.source https://github.com/khoj-ai/khoj