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 (#4789)
  • Loading branch information
PhilBastian authored Feb 11, 2025
1 parent a954192 commit 55cbe22
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 55cbe22

Please sign in to comment.