Skip to content

Commit

Permalink
increase session retries
Browse files Browse the repository at this point in the history
  • Loading branch information
dugalh committed Jun 18, 2024
1 parent a186ce4 commit 29be8a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geedim/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def _resample(ee_image: ee.Image) -> ee.Image:


def retry_session(
retries: int = 3, backoff_factor: float = 0.3, status_forcelist: Tuple = (429, 500, 502, 503, 504),
retries: int = 5, backoff_factor: float = 0.3, status_forcelist: Tuple = (429, 500, 502, 503, 504),
session: requests.Session = None
) -> requests.Session:
""" requests session configured for retries. """
Expand Down

0 comments on commit 29be8a3

Please sign in to comment.