From 83f0df32d7f25d905ee569ce8e12d6a9d17b9b40 Mon Sep 17 00:00:00 2001
From: Galonza Peter
Date: Thu, 28 Oct 2021 23:16:32 +0300
Subject: [PATCH] added thread
---
src/gunicorn.conf.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gunicorn.conf.py b/src/gunicorn.conf.py
index 047ec33..56b82ce 100644
--- a/src/gunicorn.conf.py
+++ b/src/gunicorn.conf.py
@@ -5,7 +5,7 @@ app_host, app_port = dashboard.get_host_bind()
worker_class = 'gthread'
workers = multiprocessing.cpu_count() * 2 + 1
-threads = 2
+threads = 4
bind = f"{app_host}:{app_port}"
daemon = True
pidfile = './gunicorn.pid'