Skip to content

Commit

Permalink
More retries
Browse files Browse the repository at this point in the history
  • Loading branch information
subdavis committed Sep 10, 2024
1 parent 9b96b8b commit 747dafa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lims_utils/meetings.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
meetings_json = "https://lims.minneapolismn.gov/CityCouncil/CityCouncilMeetingsPagedList?abbreviation="
meetingCacheFile = "meeting_cache.json"


@retry(stop=stop_after_attempt(3))
@retry(stop=stop_after_attempt(10))
def get_meeting_page(page: int) -> dict:
scraper = cloudscraper.create_scraper()
scraper.headers.update(
Expand Down

0 comments on commit 747dafa

Please sign in to comment.