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

objstore/azure: Only create an http client once #4928

Merged
merged 1 commit into from
Dec 7, 2021
Merged

objstore/azure: Only create an http client once #4928

merged 1 commit into from
Dec 7, 2021

Commits on Dec 7, 2021

  1. objstore/azure: Only create an http client once

    `getContainerURL` was creating a new `http.Client` within `HTTPSender`.
    This increased memory pressure on components making requests to Azure.
    
    Move `http.Client` creation out of `HTTPSender`, only creating it once
    per call to `getContainerURL`.
    
    Signed-off-by: Andrew Seigner <[email protected]>
    siggy committed Dec 7, 2021
    Configuration menu
    Copy the full SHA
    8df44d1 View commit details
    Browse the repository at this point in the history