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

Increase the URL connection and read timeouts to 30 seconds #99

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jturcotte
Copy link

We are seeing situations when running in Docker that the protoc version download intermittently fails
and this breaks the CI build of our code.

It's not 100% clear from the log whether a timeout is what occurs given that we don't see why the download
fails in the logs, but I believe that a 5 seconds timeout can be pretty short if the network is held up by something else.

I think it should be a balanced value to increase this timeout to 30 seconds.
This will however slow down the fallback to pick up any cached version if the machine became offline.

We are seeing situations when running in Docker that the protoc version download intermittently fails
and this breaks the CI build of our code.

It's not 100% clear from the log whether a timeout is what occurs given that we don't see why the download
fails in the logs, but I believe that a 5 seconds timeout can be pretty short if the network is held up by something else.

I think it should be a balanced value to increase this timeout to 30 seconds.
This will however slow down the fallback to pick up any cached version if the machine became offline.
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