Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
latentvector committed Apr 10, 2024
1 parent a330d35 commit 48c16e0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion commune/namespace.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ def test(cls):

@classmethod
def build_namespace(cls,
timeout:int = 10,
timeout:int = 2,
network:str = 'local',
verbose=True)-> dict:
'''
Expand All @@ -374,6 +374,8 @@ def build_namespace(cls,
address = future2address[f]
try:
name = f.result()
if 'Internal Server Error' in name:
raise Exception(name)
namespace[name] = address
c.print(f'Updated {name} to {address}', color='green', verbose=verbose)
except Exception as e:
Expand Down

0 comments on commit 48c16e0

Please sign in to comment.