mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2024-11-06 16:00:28 +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")
|
app_port = config.get("Server", "app_port")
|
||||||
WG_CONF_PATH = config.get("Server", "wg_conf_path")
|
WG_CONF_PATH = config.get("Server", "wg_conf_path")
|
||||||
config.clear()
|
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)
|
# app.run(host=app_ip, debug=False, port=app_port)
|
||||||
|
@ -4,7 +4,8 @@ import dashboard
|
|||||||
app_host, app_port = dashboard.get_host_bind()
|
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
|
||||||
|
workers = 1
|
||||||
threads = 4
|
threads = 4
|
||||||
bind = f"{app_host}:{app_port}"
|
bind = f"{app_host}:{app_port}"
|
||||||
daemon = True
|
daemon = True
|
||||||
|
Loading…
Reference in New Issue
Block a user