Extend a task lease
extend_taskExtend a running task's lease to prevent it from being considered stale and handed to another worker. Specify extra milliseconds and include the fencing token to validate the claim.
Instructions
Heartbeat a long-running task: extend its lease by extraMs so it is not reaped and handed to another worker. Must carry the claim fencingToken.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | ||
| extraMs | Yes | extend the lease by this many ms | |
| fencingToken | Yes |