Skip to content

Commit

Permalink
increase backoff_factor
Browse files Browse the repository at this point in the history
  • Loading branch information
dugalh committed Jun 19, 2024
1 parent a438315 commit 6f7f062
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 = 5, backoff_factor: float = 0.3, status_forcelist: Tuple = (429, 500, 502, 503, 504),
retries: int = 5, backoff_factor: float = 2., 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 6f7f062

Please sign in to comment.