Spaces:
Running
Running
Commit
·
65a6e80
1
Parent(s):
e9b37dc
Slight Edit
Browse files
FileStream/bot/__init__.py
CHANGED
@@ -27,7 +27,7 @@ ACTIVE_CLIENTS = {}
|
|
27 |
async def req_client(PUBLIC_IP:str)-> dict:
|
28 |
index = min(WORK_LOADS, key=WORK_LOADS.get)
|
29 |
faster_client = MULTI_CLIENTS[index]
|
30 |
-
|
31 |
#ACTIVE_CLIENTS.update(faster_client)
|
32 |
#response = dict(index=index, client=faster_client)
|
33 |
return dict(index=index,public_ip=PUBLIC_IP, client=faster_client)
|
|
|
27 |
async def req_client(PUBLIC_IP:str)-> dict:
|
28 |
index = min(WORK_LOADS, key=WORK_LOADS.get)
|
29 |
faster_client = MULTI_CLIENTS[index]
|
30 |
+
print("\n \nFaster Client",faster_client,type(faster_client),"\nWORK_LOADS",WORK_LOADS,type(WORK_LOADS),"\nMULTI_CLIENTS",MULTI_CLIENTS,type(MULTI_CLIENTS),"\n")
|
31 |
#ACTIVE_CLIENTS.update(faster_client)
|
32 |
#response = dict(index=index, client=faster_client)
|
33 |
return dict(index=index,public_ip=PUBLIC_IP, client=faster_client)
|