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

Prevent duplicates? #43

Open
gabbie-newell opened this issue Oct 18, 2019 · 2 comments
Open

Prevent duplicates? #43

gabbie-newell opened this issue Oct 18, 2019 · 2 comments

Comments

@gabbie-newell
Copy link

My e-mail provider (MailGun) always bans me because Sneaker sends too many e-mails per minute.
Is it possible to limit number of Sneaker messages per minute? Or prevent duplication of messages?
For example when some queue-worker meets an error, Sneaker sends many messages each second. I changed all queued jobs and listeners to retryAfter parameter for around 30-60 seconds. But I will be very thankful if Sneaker could be able to limit number of messages per minute or could prevent duplication.
PS. I like Sneaker, because it's very simple to install and most functional :) Hope for your help!
Thanks in advance.

@akaamitgupta
Copy link
Contributor

@gabbie-newell This is the feature I always wanted in the package but not sure how to implement this.
We need some kind of storage to prevent sending of emails like Redis or something. But not sure if this is the right approach.

Suggestions are most welcome.

@Lootjs
Copy link

Lootjs commented Nov 12, 2019

I offer my solution for avoid duplicated exceptions #46

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

No branches or pull requests

3 participants