LeaseStatus interface
Lease-protected jobs (protocol 1.6): whether leases are paused, and every lease held now (getLeaseStatus, pauseLeases, resumeLeases).
Signature:
export interface LeaseStatus
Properties
| Property | Type | Description |
|---|---|---|
string |
||
Date |
(Optional) When leases were last paused or resumed, by whom and why. |
|
number |
The deployment’s grace, for a job that does not set its own. |
|
Array<{ jobId: string; nodeId: string; lastAliveAt: Date; graceMs: number; blockedUntil?: Date; holderRunning: boolean; }> |
||
boolean |
||
string |
||
Date |
(Optional) When they were last resumed: every grace runs from here too. |