Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit duplicate notifications sent to phone numbers #38

Open
acthelemann opened this issue Apr 16, 2020 · 3 comments · May be fixed by #47
Open

Limit duplicate notifications sent to phone numbers #38

acthelemann opened this issue Apr 16, 2020 · 3 comments · May be fixed by #47
Assignees
Labels
backend Anything related to the Golang microservice

Comments

@acthelemann
Copy link
Contributor

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.

@acthelemann acthelemann added help wanted Extra attention is needed backend Anything related to the Golang microservice labels Apr 16, 2020
@pavel-ilin
Copy link

Can work on this one

@acthelemann acthelemann removed the help wanted Extra attention is needed label Apr 29, 2020
@pavel-ilin
Copy link

When I trying to connect to the mongoDB it tells me that my IP is not allowed to connect. Or may be my account don't have enough rights.

@acthelemann
Copy link
Contributor Author

Yeah, we need to add your IP to the whitelist. Give me your email I can add you to MongoDB

@pavel-ilin pavel-ilin linked a pull request May 12, 2020 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Anything related to the Golang microservice
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants