mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-10-03 07:46:18 +00:00
Fixed Gunicorn global variable issue
This commit is contained in:
@@ -5,8 +5,8 @@ global sqldb, cursor, DashboardConfig, WireguardConfigurations, AllPeerJobs, Job
|
||||
app_host, app_port = dashboard.gunicornConfig()
|
||||
|
||||
worker_class = 'gthread'
|
||||
workers = 4
|
||||
threads = 2
|
||||
workers = 1
|
||||
threads = 1
|
||||
bind = f"{app_host}:{app_port}"
|
||||
daemon = True
|
||||
pidfile = './gunicorn.pid'
|
Reference in New Issue
Block a user