Merge branch 'master' of https://gitea.star-rising.cn/xkrs_manan/RODY
This commit is contained in:
commit
0647ae81ad
@ -10,9 +10,18 @@
|
|||||||
|
|
||||||
|
|
||||||
def _init(): # 初始化
|
def _init(): # 初始化
|
||||||
|
# 中断标志
|
||||||
global _global_dict
|
global _global_dict
|
||||||
_global_dict = {}
|
_global_dict = {}
|
||||||
|
|
||||||
|
# ws列表存储
|
||||||
|
global active_connections
|
||||||
|
active_connections = multiprocessing.Manager().list()
|
||||||
|
|
||||||
|
# ws字典存储
|
||||||
|
global active_connections_dist
|
||||||
|
active_connections_dist = multiprocessing.Manager().dict()
|
||||||
|
|
||||||
|
|
||||||
def set_value(key, value):
|
def set_value(key, value):
|
||||||
# 定义一个全局变量
|
# 定义一个全局变量
|
||||||
|
Loading…
Reference in New Issue
Block a user