Skip to content

Commit

Permalink
chore: wrap query requests in retry
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobdadams authored and steveoh committed Apr 16, 2024
1 parent c1ce133 commit 1a4e445
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/palletjack/extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,8 @@ def _query_records(self, query_endpoint, query_params=None) -> dict:
"""
token = self._get_token()

response = requests.get(
response = utils.retry(
requests.get,
f"{self.org_url}/{query_endpoint}",
params=query_params,
headers={
Expand Down

0 comments on commit 1a4e445

Please sign in to comment.