Перейти к содержимому
Русский

LeaseSettings

Это содержимое пока не доступно на вашем языке.

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

readonly optional acquireRetries?: number

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

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


readonly optional acquireRetryDelayMs?: number

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

Delay between acquire retries.


readonly name: string

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

Lease name — unique identifier within the namespace.


readonly owner: string

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

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


readonly optional renewalIntervalMs?: number

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

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


readonly ttlMs: number

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

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