-
Notifications
You must be signed in to change notification settings - Fork 559
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 server_startup_timeout_ms
#1438
Conversation
I guess you don't have the courage to try to bisect the regression? it would be nice to document this in the README. And the CI isn't happy ;) @glandium did you see that in our CI ? |
I mean I could at some point I suppose after I setup a test case to get it to reliably repro. |
Codecov ReportBase: 23.47% // Head: 23.57% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1438 +/- ##
==========================================
+ Coverage 23.47% 23.57% +0.10%
==========================================
Files 48 48
Lines 22310 22316 +6
Branches 10213 10211 -2
==========================================
+ Hits 5237 5261 +24
+ Misses 11469 11460 -9
+ Partials 5604 5595 -9
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
I guess you saw:
|
I guess I hit this when using rustls instead of openssl, we can just keep those changes on our fork since they were unrelated to this change anyhow. |
Ever since we updated to 3.0 we've been having very rare (~1%) cases where the
sccache --start-server
will timeout witherror: Timed out waiting for server startup
. While the best option would be to figure that out and fix it, in the meantime just having a simple retry works around the issue. The problem was that the timeout is an incredibly long 10 seconds, so this PR just adds a newserver_startup_timeout_ms
to the config file so that users can specify the timeout they want, falling back to the 10 second default if one is not set, as when it works, this operation should complete in a few hundred milliseconds max allowing us to have a tighter retry loop.This also removes the openssl dependency when using
gcs
since that seems to have snuck back in at some point #367, but let me know if you want to split that out.