Skip to content

enhance sms queue processing #207

Merged
vernu merged 3 commits intomainfrom
dev
Mar 24, 2026
Merged

enhance sms queue processing #207
vernu merged 3 commits intomainfrom
dev

Conversation

@vernu
Copy link
Copy Markdown
Owner

@vernu vernu commented Mar 24, 2026

No description provided.

vernu added 2 commits March 24, 2026 17:23
- Refactored SMS status updates in SmsQueueProcessor to batch updates for failed and dispatched SMS records.
- Improved error handling by collecting failed SMS details and updating their status in a single operation.
- Updated the SMS queue registration to use asynchronous configuration with dynamic limits from the ConfigService.
- Introduced batching for SMS document insertion to improve performance.
- Added metadata tracking for SMS to FCM message mapping.
- Implemented error handling for mismatched SMS records and queue payloads.
- Updated SMS queue service to support dynamic batch sizes and immediate queue delays.
@vernu vernu self-assigned this Mar 24, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 24, 2026

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

Project Deployment Actions Updated (UTC)
textbee Ready Ready Preview, Comment Mar 30, 2026 0:27am
textbee (staging) Ready Ready Preview, Comment Mar 30, 2026 0:27am

Request Review

- Implemented a check for the existence of the insertMany method in the SMS model to enhance flexibility.
- Added a fallback mechanism for models that do not support insertMany, allowing for individual document creation.
- Improved SMS document insertion process by maintaining performance while ensuring compatibility with various model types.
@vernu vernu merged commit c5630b3 into main Mar 24, 2026
8 of 9 checks passed
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.

1 participant