mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-22 15:20:09 +01:00
Testing
This commit is contained in:
parent
7e1fd99c37
commit
4a1a6c5933
@ -1744,5 +1744,5 @@ if __name__ == "__main__":
|
||||
app_port = config.get("Server", "app_port")
|
||||
WG_CONF_PATH = config.get("Server", "wg_conf_path")
|
||||
config.clear()
|
||||
socketio.run(app, host=app_ip, debug=False, port=app_port)
|
||||
socketio.run(app, host=app_ip, debug=False, port=int(app_port))
|
||||
# app.run(host=app_ip, debug=False, port=app_port)
|
||||
|
@ -4,7 +4,8 @@ import dashboard
|
||||
app_host, app_port = dashboard.get_host_bind()
|
||||
|
||||
worker_class = 'gthread'
|
||||
workers = multiprocessing.cpu_count() * 2 + 1
|
||||
# workers = multiprocessing.cpu_count() * 2 + 1
|
||||
workers = 1
|
||||
threads = 4
|
||||
bind = f"{app_host}:{app_port}"
|
||||
daemon = True
|
||||
|
Loading…
Reference in New Issue
Block a user