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

Add timeout to retrieve from Google #14

Merged
merged 1 commit into from
Jun 23, 2021

Conversation

ehendrix23
Copy link
Contributor

Adding timeout of 5 seconds to retrieve the information from Google. Without a timeout it is possible for the integration to "hang" indefinitely.
Further putting it in between try-except to catch timeout (and any other potential errors).

Adding timeout of 5 seconds to retrieve the information from Google. Without a timeout it is possible for the integration to "hang" indefinitely.
Further putting it in between try-except to catch timeout (and any other potential errors).
Copy link
Owner

@gregoryduckworth gregoryduckworth left a comment

Choose a reason for hiding this comment

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

Thanks for this @ehendrix23!

@gregoryduckworth gregoryduckworth merged commit f294b6c into gregoryduckworth:master Jun 23, 2021
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.

2 participants