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

Raise cache reload timeout limit #309

Merged
merged 1 commit into from
Sep 6, 2022

Conversation

4ND3R50N
Copy link
Contributor

@4ND3R50N 4ND3R50N commented Sep 5, 2022

To update the internal cache, the provider is getting all servers of the corresponding project / user. For that, the /servers endpoint is called with page max page size of 50 per call.

But there is an internal timeout of 5s for that calls. And right now, if there is a user with more than 50+ server, one call need more time than 5s.

As a quick fix, we raise the timeout. Internally, we get enough time to investigate more consistent optimizations in API or in the controller manager cache handling.

@LKaemmerling
Copy link
Member

Greetings from 🇮🇹 looks fine but please add a comment why you changed it

@4ND3R50N
Copy link
Contributor Author

4ND3R50N commented Sep 5, 2022

@LKaemmerling Greetings back from DE :-)

I updated the PR description! Have a nice holiday!

@LKaemmerling LKaemmerling merged commit af478ae into main Sep 6, 2022
@LKaemmerling LKaemmerling deleted the raise_timeout_from_cache_update branch September 6, 2022 06:55
@mmpetarpeshev
Copy link

mmpetarpeshev commented Sep 6, 2022

Thats great , could someone say when the fix will be released ?

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.

Hcloud manager errors: Couldn't reconcile node routes error listing routes context deadline exceeded
3 participants