init infrait

This commit is contained in:
2026-02-12 18:47:12 +03:00
commit 7a6ecf6281
18 changed files with 1389 additions and 0 deletions

14
gunicorn_conf.py Normal file
View File

@@ -0,0 +1,14 @@
import multiprocessing
bind = "0.0.0.0:4545"
workers = max(4, multiprocessing.cpu_count() * 2)
threads = 4
timeout = 60
graceful_timeout = 30
keepalive = 5
worker_tmp_dir = "/dev/shm"
max_requests = 1000
max_requests_jitter = 100
accesslog = "-"
errorlog = "-"
loglevel = "info"