-
Notifications
You must be signed in to change notification settings - Fork 187
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
Add expiry Predicate
to SecretLeaseContainer
to determine whether a Lease
is expired
#809
Comments
Care to elaborate on what you're planning to achieve? Please provide more detail and context so that we can understand what you're up to. |
Here is my code.
minRenewal is used in two pieces of code.
SecretLeaseContainer whether can like LifecycleAwareSessionManagerSupport. RefreshTrigger, Open for users to configure nextExecutionTime and getValidTtlThreshold? |
If a sockettimeout is displayed, The default leaseStrategy is drop, but onLeaseExpired(requestedSecret, lease) is not executed after drop. Note Rescheduling can only be triggered by the user rotate, which affects the execution time of the user. if leaseStrategy is retainOnIoError, doRenewLease will return the original lease with no change in leaseDuration, resulting in a high probability that the calculation for the next execution cycle is wrong. Line 680 in 61ca991
|
SecretLeaseContainer
SecretLeaseContainer
Predicate
to SecretLeaseContainer
to determine whether a Lease
is expired
expiryThreshold is shared by minRenewal, It is difficult to assess how much minRenewal should be set
https://github.com/spring-projects/spring-vault/blob/afdbdd67f1018634a536fa4e0f60a52d37b1860c/spring-vault-core/src/main/java/org/springframework/vault/core/lease/SecretLeaseContainer.java#L594C5-L594C5
The text was updated successfully, but these errors were encountered: