全局变量

This commit is contained in:
JIAKUNHAO 2022-11-24 11:02:25 +08:00
parent b60fa43567
commit 5050bfb169

View File

@ -26,9 +26,11 @@ def _init(): # 初始化
def get_active_connections(): def get_active_connections():
global active_connections
return active_connections return active_connections
def get_active_connections_dist(): def get_active_connections_dist():
global active_connections_dist
return active_connections_dist return active_connections_dist
def set_value(key, value): def set_value(key, value):