w250697116 / apns-sharp

Automatically exported from code.google.com/p/apns-sharp
0 stars 0 forks source link

Send retries should default to 1 (or other value greater than 0) #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Send retries should default to 1 (or other value greater than 0) or internally 
always = retries + 1 
or should be renamed SendAttempts

Steps will reproduce the problem?
1. create instance of NotificationService
2. Do NOT set SendRetries or set SendRetries = 0
3. create an instance of Notification, set necessary properties
4. Call QueueNotification passing the Notification object
5. Notification fails to be queued

I would expect the message to be queued and attempted to be sent, if it failed 
to send I would 
not expect a retry (as I set SendRetries to 0).

Using version 1.0.1.0

I know this is a small point but SendRetries does imply a certain behaviour 
which is not really 
correct. 

Thanks for your work :) 

Original issue reported on code.google.com by ratherfl...@gmail.com on 10 Sep 2009 at 9:52

GoogleCodeExporter commented 8 years ago
Fixed, should now default to 1

Original comment by jond...@gmail.com on 22 Dec 2009 at 5:48