Files
sam e75d5c8ade
deploy / plan (push) Successful in 7s
deploy / archied-image (push) Canceled after 0s
deploy / agent-image (push) Canceled after 0s
deploy / dist-zip (push) Canceled after 0s
deploy / gate (push) Canceled after 4m4s
fix(store): a restart re-queues a running task at its interrupted step and parks it after 3 restarts (#1841)
2026-11-09 14:36:08 +11:00

11 lines
307 B
SQL

-- tasks.restart_requeues counts the daemon restarts that re-queued the task
-- while it ran; at the cap the task parks, and an operator retry resets it.
-- +goose Up
ALTER TABLE tasks ADD COLUMN restart_requeues bigint NOT NULL DEFAULT 0;
-- +goose Down
ALTER TABLE tasks DROP COLUMN restart_requeues;