Skip to content

Commit

Permalink
Fix batch message deduplication logic to not update batch on already …
Browse files Browse the repository at this point in the history
…batched message - 6.3 (#4796)

Co-authored-by: Phil Bastian <[email protected]>
  • Loading branch information
jpalac and PhilBastian authored Feb 12, 2025
1 parent 62c9b20 commit 58501f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ static ICommandData CreateFailedMessageRetryDocument(string batchDocumentId, str
}
};

return new PatchCommandData(FailedMessageRetry.MakeDocumentId(messageId), null, patch: patchRequest, patchIfMissing: patchRequest);
return new PatchCommandData(FailedMessageRetry.MakeDocumentId(messageId), null, patch: new PatchRequest { Script = "" }, patchIfMissing: patchRequest);
}

public async Task GetBatchesForAll(DateTime cutoff, Func<string, DateTime, Task> callback)
Expand Down

0 comments on commit 58501f4

Please sign in to comment.