Closed AndrewHartAR closed 7 years ago
join
is only needed if you want your code to wait for all outstanding requests.
For the rest, note that the recommended wait to use Apnotic is clearly specified in the README and it includes a queue manager, as per the provided example.
Hope this clear up.
I'd have an instance which is kept around for the lifetime of my application, and I'd like to have a single connection be open. I've been playing with the code, and I'm not sure where the @connection.join line should go, or if it's even required - my app seems to function fine without it. It actually didn't perform as well when following each push notification, but that just may be push notification performance (it's always hard to say). Also, are there any problems in the way my code is setup?
I appreciate your support.