Commit 4044bd2
fix(jobs): don't overwrite the --stop_after baseline in background-job:worker
$startTime was used for two different things:
as baseline for --stop_after and as start time of the currently running job.
The variable was reassigned during each loop with each new job in the queue, so the baseline for --stop_after was lost and the worker never terminated.
Renaming the job variable fixes this issue.
Assisted-by: Claude:claude-opus-5
Signed-off-by: Sven Hansen <vaenda@vaenda.de>1 parent 41e10e2 commit 4044bd2
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
0 commit comments