timehop / apns

A Go package to interface with the Apple Push Notification Service
https://godoc.org/github.com/timehop/apns
MIT License
185 stars 47 forks source link

sent 1000 push notes and it failed to send because of too many connections #58

Open theprojectabot opened 9 years ago

theprojectabot commented 9 years ago

Is there a batch limit I need to adher to?

I sent it to 1000 folks, each push note was c.Send and it processed them quite fast which was rad but at around 500 it just stopped sending. I then tried processing without a c.Send and it went through all the device tokens and complained at the end that there were too many connections.

nathany commented 9 years ago

There shouldn't be a batch limit. It's quite odd that it stopped sending. No error message? Has anyone else seen this?

Apple does have a limit on connections opened to them for a given application.