Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retry twice when inserting member into Google Group #7

Merged
merged 1 commit into from
Aug 20, 2024
Merged

Conversation

ben-z
Copy link
Member

@ben-z ben-z commented Aug 19, 2024

Docs: https://googleapis.github.io/google-api-python-client/docs/epy/googleapiclient.http.HttpRequest-class.html#execute

We consistently run into SSLEOFError after a period of idling. When manually retrying, the request seems to go through. This PR uses the num_retries argument to automatically retry on request failure.

Docs: https://googleapis.github.io/google-api-python-client/docs/epy/googleapiclient.http.HttpRequest-class.html#execute

We consistently run into SSLEOFError after a period of idling. When manually retrying, the request seems to go through. This PR uses the `num_retries` argument to automatically retry on request failure.
@ben-z ben-z changed the title Retry twice when inserting memeber Retry twice when inserting memeber into Google Group Aug 19, 2024
@ben-z ben-z changed the title Retry twice when inserting memeber into Google Group Retry twice when inserting member into Google Group Aug 19, 2024
@ben-z
Copy link
Member Author

ben-z commented Aug 20, 2024

This seems to have fixed the issue! We haven't seen SSLEOFError after deploying it.

@ben-z ben-z merged commit 922b42e into main Aug 20, 2024
1 check passed
@ben-z ben-z deleted the ben-z-patch-1 branch August 20, 2024 03:43
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.

1 participant