privateone commited on
Commit
9caae65
·
1 Parent(s): fdbc27b

Testing Changes

Browse files
Files changed (1) hide show
  1. FileStream/bot/__init__.py +1 -0
FileStream/bot/__init__.py CHANGED
@@ -26,5 +26,6 @@ ACTIVE_CLIENTS = {}
26
  async def req_client(PUBLIC_IP:str)-> dict:
27
  index = min(WORK_LOADS, key=WORK_LOADS.get)
28
  faster_client = MULTI_CLIENTS[index]
 
29
  #response = dict(index=index, client=faster_client)
30
  return dict(index=index,public_ip=PUBLIC_IP, client=faster_client)
 
26
  async def req_client(PUBLIC_IP:str)-> dict:
27
  index = min(WORK_LOADS, key=WORK_LOADS.get)
28
  faster_client = MULTI_CLIENTS[index]
29
+ ACTIVE_CLIENTS.update(dict(faster_client))
30
  #response = dict(index=index, client=faster_client)
31
  return dict(index=index,public_ip=PUBLIC_IP, client=faster_client)