File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class CapacityService:
10
10
def __init__ (self , metagraph , dendrite ):
11
11
self .metagraph = metagraph
12
12
self .dendrite : bt .dendrite = dendrite
13
- self .timeout = 4
13
+ self .timeout = 30
14
14
self .uid_to_capacity = {}
15
15
self .remain_uid_to_capacity = {}
16
16
Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ async def get_available_uids(self):
348
348
async def check_uid (self , axon , uid ):
349
349
"""Asynchronously check if a UID is available."""
350
350
try :
351
- response = await self .dendrite (axon , IsAlive (), timeout = 4 )
351
+ response = await self .dendrite (axon , IsAlive (), timeout = 30 )
352
352
if response .completion == 'True' :
353
353
bt .logging .trace (f"UID { uid } is active" )
354
354
return axon # Return the axon info instead of the UID
You can’t perform that action at this time.
0 commit comments