Testing with 2 threads 1 worker

This commit is contained in:
Donald Zou
2025-09-15 22:09:57 +08:00
parent 3673813e6a
commit f231e9214c
3 changed files with 6 additions and 9 deletions

View File

@@ -10,7 +10,7 @@ def post_worker_init(worker):
worker_class = 'gthread'
workers = 1
threads = 1
threads = 2
bind = f"{app_host}:{app_port}"
daemon = True
pidfile = './gunicorn.pid'