Skip to content

feat(notifications): enforce configurable batch size limit with chunk isolation (#1934) - #2076

Closed
ryder777777 wants to merge 1 commit into
Arena1X:mainfrom
ryder777777:fix-1934-notification-batch-size-limit
Closed

ryder777777 wants to merge 1 commit into
Arena1X:mainfrom
ryder777777:fix-1934-notification-batch-size-limit

Conversation

@ryder777777

Copy link
Copy Markdown

Closes #1934

Summary

Add configurable batchSizeLimit (setBatchSizeLimit / getBatchSizeLimit, default 50) and sequential chunking with per-chunk try/catch isolation in NotificationGeneratorService.createNotificationsBatch so large fan-out batches never exceed database parameter limits and a failed chunk does not abort remaining chunks.

Modified Files

  • backend/src/notifications/notification-generator.service.ts
  • backend/src/notifications/notification-generator.service.spec.ts

Verification

  • Verified with npx eslint (0 errors) and npx jest unit tests passing in backend/.

@ryder777777

Copy link
Copy Markdown
Author

/claim #1934

Payout Wallet (Binance USDT TRC20 / Tron Network): TXmG2bbkS5m2ZfT535o5kQNpwYzhb5JUYg

@vercel

vercel Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
insight-arena-4rll Error Error Oct 20, 2026 7:17pm UTC

This branch had an error being deployed

1 failed deployment
Preview — a52154df Deployed Oct 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Backend] — Notification Generator Idempotency Per Event

2 participants