Skip to content

Commit

Permalink
Merge pull request #1369 from galaxyproject/rettries
Browse files Browse the repository at this point in the history
Increase bioblend retries for bad networks
  • Loading branch information
mvdbeek committed Jun 6, 2023
2 parents b0bb34c + 3f3ca2b commit 8ef9a8f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion planemo/galaxy/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ def gi(port: Optional[int] = None, url: Optional[str] = None, key: Optional[str]
else:
url = f"http://localhost:{int(port)}"

return GalaxyInstance(url=url, key=key)
g = GalaxyInstance(url=url, key=key)
g.max_get_attempts = 10
return g


def test_credentials_valid(port=None, url=None, key=None, is_admin=False):
Expand Down

0 comments on commit 8ef9a8f

Please sign in to comment.