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

vault: improve usage of time.Timer #388

Merged
merged 1 commit into from
Aug 18, 2023
Merged

vault: improve usage of time.Timer #388

merged 1 commit into from
Aug 18, 2023

Commits on Aug 17, 2023

  1. vault: improve usage of time.Timer

    This commit improves the usage of `time.Timer`
    esp. within the Vault token renew and re-auth
    logic.
    
    It follows some recommendations from:
    https://go101.org/article/memory-leaking.html
    
    Ref: Real Memory Leaking Caused by Not Stopping
    time.Ticker Values Which Are Not Used Any More
    
    Further, this commit updates the Vault SDK dep
    from 1.5 to 1.9.2 and removes some deprecated API
    usages.
    
    Signed-off-by: Andreas Auernhammer <[email protected]>
    aead committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    b65935c View commit details
    Browse the repository at this point in the history