LeaseSettings
Ce contenu n’est pas encore disponible dans votre langue.
Defined in: src/coordination/Lease.ts:61
Extended by
Section titled “Extended by”Properties
Section titled “Properties”acquireRetries?
Section titled “acquireRetries?”
readonlyoptionalacquireRetries?:number
Defined in: src/coordination/Lease.ts:71
Max attempts for a single acquire() before returning false.
acquireRetryDelayMs?
Section titled “acquireRetryDelayMs?”
readonlyoptionalacquireRetryDelayMs?:number
Defined in: src/coordination/Lease.ts:73
Delay between acquire retries.
readonlyname:string
Defined in: src/coordination/Lease.ts:63
Lease name — unique identifier within the namespace.
readonlyowner:string
Defined in: src/coordination/Lease.ts:65
Identifier of the holder (pod name / host name / uuid).
renewalIntervalMs?
Section titled “renewalIntervalMs?”
readonlyoptionalrenewalIntervalMs?:number
Defined in: src/coordination/Lease.ts:69
How often to renew (< ttlMs — typically ttl/3).
readonlyttlMs:number
Defined in: src/coordination/Lease.ts:67
Time-to-live in ms — the backend auto-expires if we fail to renew.