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

Fix #744: Bulk messages with aoiapns not working properly #746

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mikaelengstrom
Copy link

Previous version implemented aioapns in a way that made it hang indefinetly. Especially when receiver list contaned a lot of bad tokens.

Having a lot of bad tokens still affects the reliability and transfer speed of notification sets, which is why this fix also deactivate devices for error codes BadDeviceToken and DeviceTokenNotForTopic unlike previous versions.

Tagging @pomali who initially did the aoiapns integration in case you have any feedback.

@mikaelengstrom mikaelengstrom force-pushed the fix-bulk-messaging-for-aioapns branch from d69a18c to 5c24247 Compare November 21, 2024 15:03
Previous version implemented aioapns in a way that made
it hang indefinetly. Especially when receiver list contaned
a lot of bad tokens.

Having a lot of bad tokens still affects the reliability and
transfer speed of notification sets, which is why this fix
also deactivate devices for error codes BadDeviceToken and
DeviceTokenNotForTopic unlike previous versions.
@mikaelengstrom mikaelengstrom force-pushed the fix-bulk-messaging-for-aioapns branch from 5c24247 to 59ab2c6 Compare November 21, 2024 15:14
@mikaelengstrom
Copy link
Author

Would be thankful if for example @50-Course could look into this since you managed the last PR by @pomali

Copy link
Member

@50-Course 50-Course left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi @mikaelengstrom. apologies, couldn't make a comment back yesterday - as the notification came in amid few things. i understand the intent behind this change, however, can we have a test suite to ensure this doesn't break things down the line?

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

Successfully merging this pull request may close these issues.

3 participants