chughSangam / javapns

Automatically exported from code.google.com/p/javapns
0 stars 0 forks source link

Query on Batch sending #212

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.I am not sure if its a problem, but i just want to verify if I am not open a 
connection for each message pushed
2.
3.

What is the expected output? What do you see instead?
I was expecting to see only 1 Closing connection once all messages has been 
sent but I see 3 in the logs (when i was trying to send to 3 devices)

(PushNotificationManager.java:stopConnection:200)
DEBUG: Closing connection
(PushNotificationManager.java:stopConnection:200)
DEBUG: Closing connection
(PushNotificationManager.java:stopConnection:200)
DEBUG: Closing connection

INFO: Sending messages to 3 iOS devices at a throughput of 40 sending in 
production enviroment: false

What version of the product are you using? On what operating system?
Javapns 2.2

Please provide any additional information below.
40 = threads i am using (quick question does this mean if i have 4000 people to 
send to, I am actually sending it at a batch of 40 messages per batch?)

INFO: Sending messages to 3 iOS devices at a throughput of 40 sending in 
production enviroment: false

Original issue reported on code.google.com by Augustin...@gmail.com on 27 Feb 2014 at 7:12