What is the default KeepAlive duration for lease? How can I configure it? #14855
Unanswered
shreemaan-abhishek
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When I call
client.KeepAlive(ctx, id)
for a lease. The lease gets renewed every 20 seconds. Where is this default value declared? Can I configure it?Update:
Turns out that the keepAlive duration is calculated based on the lease duration. I tried to look for the code that does this, but could not find any.
Beta Was this translation helpful? Give feedback.
All reactions