Skip to content

Commit

Permalink
[fix] #907, fail to request, add retry
Browse files Browse the repository at this point in the history
  • Loading branch information
huangwei committed Aug 8, 2023
1 parent 7cdc831 commit e7cf5b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skyplane/compute/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def check_stderr(tup):
logger.fs.debug(f"{self.uuid()} gateway_api_url = {self.gateway_api_url}")

# wait for gateways to start (check status API)
http_pool = urllib3.PoolManager()
http_pool = urllib3.PoolManager(retries=urllib3.Retry(total=10))

def is_api_ready():
try:
Expand Down

0 comments on commit e7cf5b8

Please sign in to comment.