-
Notifications
You must be signed in to change notification settings - Fork 88
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
Detect duplicate notifications #15
Comments
Adding target type/id in #20 will make this much easier. |
So we just check the notification_type and the target_id and the send time right? What is a good buffer time range for predicting duplicates? Same hour? |
Do you think this should happen at creation or send? |
I was actually just thinking exact match
Creation. |
@atymic - will you remind me why not with anon notifications? |
In an anon notification the recipient/channel data is inside the serialized target object (which will be different depending on the order, time, etc) |
For example, when a job fails part way through and is retried it's possible to end up with a bunch of duplicate scheduled notifications.
Detecting this and throwing an exception or maybe silent fail?
Should be behind a config option
The text was updated successfully, but these errors were encountered: