Refactored batch drop logic
continuous-integration/drone/pr Build is passing

This commit is contained in:
Khwezi Mngoma
2026-05-16 00:04:58 +02:00
parent e978aa17f8
commit 1471d9e597
@@ -27,7 +27,7 @@ public class ProcessEmailNotificationsEventHandler(IDbContextFactory<ShopDbConte
foreach (var notification in notifications)
{
if (dropBatch || cancellationToken.IsCancellationRequested) break;
if (dropBatch) break;
var sendResult = await SendEmailAsync(notification,emailService, cancellationToken);