Spaces:
Running
Running
Commit
·
d077c72
1
Parent(s):
ce799e1
Slight Edit
Browse files
FileStream/bot/__init__.py
CHANGED
@@ -26,6 +26,7 @@ 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 |
-
|
|
|
30 |
#response = dict(index=index, client=faster_client)
|
31 |
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 |
+
print(faster_client,WORK_LOADS,MULTI_CLIENTS,type(faster_client,WORK_LOADS,MULTI_CLIENTS))
|
30 |
+
#ACTIVE_CLIENTS.update(faster_client)
|
31 |
#response = dict(index=index, client=faster_client)
|
32 |
return dict(index=index,public_ip=PUBLIC_IP, client=faster_client)
|