mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 02:57:59 +00:00
Update lease renewer logic (#4090)
* Add grace period calculation logic to renewer * Update lease renewer logic. It is believed by myself and members of the Nomad team that this logic should be much more robust in terms of causing large numbers of new secret acquisitions caused by a static grace period. See comments in the code for details. Fixes #3414 * Fix some commenting and fix tests * Add more time to test so that integ tests don't time out * Fix some review feedback
This commit is contained in:
@@ -41,7 +41,6 @@ func TestRenewer_NewRenewer(t *testing.T) {
|
||||
},
|
||||
&Renewer{
|
||||
secret: &Secret{},
|
||||
grace: DefaultRenewerGrace,
|
||||
},
|
||||
false,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user