-
-
Notifications
You must be signed in to change notification settings - Fork 618
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
Sending message in bulk raising GCM error when it should not #683
Comments
@sauravkhakurel can you please post the error you are seeing? |
@sauravkhakurel bump |
Here is the error log from the Huey container. I have attached the full log as well. INFO 2023-09-30 14:45:09,513 api 30 140351916693312 Executing super_krishak.notifications.tasks.notify_users_by_participation: ecd22786-0623-4108-90d5-018ed8cbeb0b @2023-09-30 09:00:00 The code that is used for task enqueuing and execution
Function to schedule daily notifications
Another unusual behavior that I am getting is, even if there are only 4 notifications in the ScheduledNotifications model. The task gets enqueued and executed automatically multiple times within a very short amount of time. I still am unable to pinpoint the cause of this unexpected behavior. If there is something wrong with my code then please do point that out as well. I have attached the Huey logs as well if you want to have a look. Thanks |
The docs of the package state that GCM Error is not raised when using bulk notifications. But the error is raised when I send bulk notifications using the following code from which I am not able to calculate the number of devices that the notification was delivered to.
Is there any possible fix for this? Thanks
The text was updated successfully, but these errors were encountered: