Skip to content

LeaseSettings

Defined in: src/coordination/Lease.ts:30

readonly optional acquireRetries?: number

Defined in: src/coordination/Lease.ts:40

Max attempts for a single acquire() before returning false.


readonly optional acquireRetryDelayMs?: number

Defined in: src/coordination/Lease.ts:42

Delay between acquire retries.


readonly name: string

Defined in: src/coordination/Lease.ts:32

Lease name — unique identifier within the namespace.


readonly owner: string

Defined in: src/coordination/Lease.ts:34

Identifier of the holder (pod name / host name / uuid).


readonly optional renewalIntervalMs?: number

Defined in: src/coordination/Lease.ts:38

How often to renew (< ttlMs — typically ttl/3).


readonly ttlMs: number

Defined in: src/coordination/Lease.ts:36

Time-to-live in ms — the backend auto-expires if we fail to renew.