Skip to content

Commit e17c073

Browse files
committed
fix: remove double completed.
its up to the user to set completed = true in the markascompleted method.
1 parent 6b91421 commit e17c073

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/ByteBard.GUSTO.JobQueue/JobQueueWorker.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ await Parallel.ForEachAsync(jobStorageRecords, parallelOptions, async (storedJob
7474
var method = jobType.GetMethod(storedJob.MethodName);
7575
await (Task)method.Invoke(jobInstance, arguments);
7676

77-
storedJob.IsComplete = true;
7877
await _storage.MarkJobAsCompleteAsync(storedJob, ct);
7978
}
8079
catch (Exception ex)

0 commit comments

Comments
 (0)