Skip to content

Commit 884adf6

Browse files
committed
Note why queue is cleared here.
1 parent 57f4b3f commit 884adf6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

PSql.Deploy.Engine/Seeds/SeedApplicator.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ private void HandleError(Exception e, WorkerContext context)
280280
if (e.Data is { IsReadOnly: false } data)
281281
data[nameof(context.WorkerId)] = context.WorkerId;
282282

283+
// Allow workers to complete, but do not start new work
283284
context.Queue.Clear();
284285
}
285286

0 commit comments

Comments
 (0)