Skip to content

Commit

Permalink
[fix] skyplane-project#907, fail to request, add retry
Browse files Browse the repository at this point in the history
  • Loading branch information
huangwei committed Aug 4, 2023
1 parent dbbc10f commit 7399a0f
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 @@ -371,7 +371,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 7399a0f

Please sign in to comment.