1
0
mirror of https://github.com/donaldzou/WGDashboard.git synced 2024-11-22 15:20:09 +01:00

added thread

This commit is contained in:
Galonza Peter 2021-10-28 23:16:32 +03:00
parent 24f269191c
commit 83f0df32d7

View File

@ -5,7 +5,7 @@ app_host, app_port = dashboard.get_host_bind()
worker_class = 'gthread' worker_class = 'gthread'
workers = multiprocessing.cpu_count() * 2 + 1 workers = multiprocessing.cpu_count() * 2 + 1
threads = 2 threads = 4
bind = f"{app_host}:{app_port}" bind = f"{app_host}:{app_port}"
daemon = True daemon = True
pidfile = './gunicorn.pid' pidfile = './gunicorn.pid'