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

HttpClient should be lazy initialized #18000

Open
bartlomieju opened this issue Mar 3, 2023 · 0 comments
Open

HttpClient should be lazy initialized #18000

bartlomieju opened this issue Mar 3, 2023 · 0 comments
Labels
perf performance related refactor

Comments

@bartlomieju
Copy link
Member

bartlomieju commented Mar 3, 2023

Currently HttpClient is eagerly created on startup in ProcState. If all sources are already cached then HttpClient is not used at all, however it has non-trivial cost on the startup.

We should refactor it in a way that it's actually initialized on first use.

Ref #15945

@bartlomieju bartlomieju added perf performance related refactor labels Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
perf performance related refactor
Projects
None yet
Development

No branches or pull requests

1 participant