Skip to content

Limit duplicate notifications sent to phone numbers #38

@acthelemann

Description

@acthelemann

We want to limit the number of duplicate notifications sent to phone numbers. Instead of randomly picking from the notification list, which could result in the same notification sending consecutively, send the notifications one after the other.

This will require a new field in the MongoDB collection, something like lastNotificationIndex. When the next notification is sent, increment lastNotificationIndex and send the notification at that index.

There could be other ways to go about this, I'm open to suggestions.

Metadata

Metadata

Assignees

Labels

backendAnything related to the Golang microservice

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions