-
Notifications
You must be signed in to change notification settings - Fork 35
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
Retry sending failed push notifications that were intended to be sent immediately #2874
Conversation
Settings can be overridden via environment variables, following the guidelines outlined in https://12factor.net/config Fix pylint and mypi errors
Fix code style issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Github still shows commits from #2861 for some reason. Could you rebase this pr so that it only includes the relevant commits?
Code Climate has analyzed commit 1f59cb0 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 82.9%. View more on Code Climate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, LGTM
Also, could you add a release note? :) |
Co-authored-by: David Venhoff <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for late re-review 🙈 Looks good 👍
Don't forget to rebase&squash 😉
Short description
This pull request modifies the push notification command to also collect all push notifications that were intended to be sent immediately but failed, as long as they are within the FCM_NOTIFICATION_RETAIN_TIME_IN_HOURS. The discussion regarding this behavior can be found here.
Proposed changes
send_push_notifications.py
Pull Request Review Guidelines