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: fix renewal time #5479

Merged
merged 3 commits into from
Apr 16, 2019
Merged

vault: fix renewal time #5479

merged 3 commits into from
Apr 16, 2019

Commits on Apr 16, 2019

  1. vault: fix renewal time

    Renewal time was being calculated as 10s+Intn(lease-10s), so the renewal
    time could be very rapid or within 1s of the deadline: [10s, lease)
    
    This commit fixes the renewal time by calculating it as:
    
    	(lease/2) +/- 10s
    
    For a lease of 60s this means the renewal will occur in [20s, 40s).
    schmichael committed Apr 16, 2019
    Configuration menu
    Copy the full SHA
    0e6da17 View commit details
    Browse the repository at this point in the history
  2. vault: fix data races

    schmichael committed Apr 16, 2019
    Configuration menu
    Copy the full SHA
    b135d28 View commit details
    Browse the repository at this point in the history
  3. changelog: add #5479

    schmichael committed Apr 16, 2019
    Configuration menu
    Copy the full SHA
    888304b View commit details
    Browse the repository at this point in the history