summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-03-09 04:24:06 +0000
committerPeter Stone <thepeterstone@gmail.com>2026-03-09 04:24:06 +0000
commit91595726d696ef8bdc8c3ef0a39a1d3a7be34408 (patch)
tree71d885f13d5209170a10913c69f2dde9e7703b1b /cmd
parent02851c000399a0a9fa1cee3a6d6695de00661dab (diff)
executor: recover stale RUNNING tasks on server startup
On restart, any tasks in RUNNING state have no active goroutine. RecoverStaleRunning() marks them FAILED (retryable) and closes their open execution records with an appropriate error message. Called once from serve.go after the pool is created.
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions