Skip to content

Commit bd8eb55

Browse files
committed
Comment on non-repeatable read
1 parent 8f0db03 commit bd8eb55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dstack/_internal/server/background/tasks/process_runs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ async def _process_next_run():
147147
)
148148
job_models = res.scalars().all()
149149
if len(run_model.jobs) != len(job_models):
150-
# Some jobs are locked
150+
# Some jobs are locked or there was a non-repeatable read
151151
return
152152
job_ids = [j.id for j in run_model.jobs]
153153
run_lockset.add(run_model.id)

0 commit comments

Comments
 (0)