tdk worker recover
Recover the transaction a worker belongs to: the transaction's failed or
on-hold function runs are re-scheduled.
tdk worker recover \
--format table \
--worker wkr-5e21f0 \
--wait \
--timeout timeout-example \
--profile production
| Flag | Type | Required | Description |
|---|---|---|---|
-o, --format | table | json | yaml | Optional | Output format. 'json' and 'yaml' give a listing as an array and table data as one object per row. |
--worker | string | Required | ID of the worker to recover. |
--wait | flag | Optional | Wait until the recovered transaction reaches a final status. Exits 7 when '--timeout' runs out and 8 when a function run did not succeed. |
--timeout | string | Optional | Stop waiting after S seconds. Default: no limit. |
--profile | string | Optional | Profile whose login and pinned project and collection this command uses; with no NAME, the default profile. Default: the profile set with 'tdk set --profile', else the default profile. |