websocket
This commit is contained in:
parent
4d72943208
commit
b79a0a1b5b
@ -47,7 +47,6 @@ def start_train_algorithm():
|
|||||||
def wrapped_function():
|
def wrapped_function():
|
||||||
param = request.args.get('param')
|
param = request.args.get('param')
|
||||||
id = request.args.get('id')
|
id = request.args.get('id')
|
||||||
sleep(10)
|
|
||||||
dict = manager.active_connections_dist
|
dict = manager.active_connections_dist
|
||||||
# t = Thread(target=func, args=(param, id))
|
# t = Thread(target=func, args=(param, id))
|
||||||
t = Process(target=func, args=(param, id, dict[id]), name=id)
|
t = Process(target=func, args=(param, id, dict[id]), name=id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user