Skip to content

Conversation

@aysim319
Copy link
Contributor

@aysim319 aysim319 commented Sep 16, 2024

Description

Added retry loop to handle google api request more gracefully.
Also handles a case where a server error gets miscategorized as bad request error

Associated Issue(s)

@aysim319 aysim319 marked this pull request as ready for review September 19, 2024 17:23
@nmdefries nmdefries changed the title 2034 add retry loop 2034 add retry loop to Google symptoms data pull Oct 30, 2024
Copy link
Contributor

@minhkhul minhkhul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To sum up, instead or raising an error immediately like current, this PR tries one more pull if encounter backend error or internal server error. If the second pull doesn't work, error out as usual.

@nmdefries nmdefries merged commit 57368e9 into main Nov 5, 2024
1 check passed
@nmdefries nmdefries deleted the 2034-add-retry-loop branch November 5, 2024 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a retry loop for google symptoms

4 participants