-
Notifications
You must be signed in to change notification settings - Fork 117
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
Handling APN with delay #83
Comments
Could you expand a bit on
We currently use a non-blocking write and we read feedback off a different connection - I'm curious how you've detected the "delay?" |
I'm following the logs. I saw it stuck in the line of |
Is there a timeout option to |
We do not have a timeout feature in Grocer, but you could use |
It can be a very useful feature. |
We have a worker that sends push notification for a given push ID.
The worker gets messages and sends PN according to the data.
The problem:
Sometimes the PN server responds with big delay. It got stuck in a middle of sending PN (maybe they limit number of APNS). It can take about an hour or more, and then, the PN is sent successfully and the queue started polling messages again..
But in this time, the worker can't push any message from the queue, so we have a big delay also for the other devices.
Is there a timeout option to
Grocer.pusher
? (It's not appears in documentation)Any other idea how to handle this?
The text was updated successfully, but these errors were encountered: