-
Notifications
You must be signed in to change notification settings - Fork 226
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
Very large batches fail #32
Comments
How are you tracking the failure? |
I was expecting a bad token as the cause, but pyapns doesn't disconnect. It doesn't log anything whatsoever. No notifications are sent as far as we can tell, we aren't receiving any. |
Cool, thanks. I'll look into this. Sounds to be an issue with either XML-RPC or the client somehow. Can you offer more insight, eg, peering at both client and server with wireshark? |
I am going to just put a limit on the number you can send. It seems reasonable that you can only send 10mb of notifications at a time :) |
seems to be related to socket reuse issue #42 |
We've been trying to speed up our notification sending by using large batches. When we send a large enough batch, there is nothing logged in the pyapns log and the batch fails to be sent.
Batch of 1000 - success
Batch of 2000 - success
Batch of 3000 - failure, nothing logged to hint at what went wrong
We're using XMLRPC, sent from a php script.
The text was updated successfully, but these errors were encountered: