Spaces:
Running
Running
Commit
·
8212bf7
1
Parent(s):
85bf3ba
Slight Edit
Browse files
FileStream/bot/__init__.py
CHANGED
@@ -26,7 +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 |
#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)
|
|
|
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("\n \nFaster Client",faster_client,type(faster_client),"\nWORK_LOADS",WORK_LOADS,type(WORK_LOADS),"\nMULTI_CLIENTS",MULTI_CLIENTS,type(MULTI_CLIENTS),"\n")
|
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)
|