fix
This commit is contained in:
@@ -26,8 +26,9 @@ type OrphanReclaimResult struct {
|
||||
}
|
||||
|
||||
// ReclaimOrphanedRunning resets in-flight work left by a dead worker process so
|
||||
// ClaimNext / feed sync claim can pick it up again. Call only when the processing
|
||||
// worker heartbeat is missing or stale (single-worker architecture) — never while
|
||||
// ClaimNext / feed sync claim can pick it up again. Call on every worker process
|
||||
// start (before TouchHeartbeat) under the single-worker architecture — a live
|
||||
// heartbeat from a just-killed process must not skip reclaim. Never call while
|
||||
// another live worker may own the rows.
|
||||
//
|
||||
// Unlike CleanupStuck (age-gated fail), this requeues immediately: running → pending
|
||||
|
||||
Reference in New Issue
Block a user