chvanikoff / apns4ex

APNS for Elixir
MIT License
70 stars 23 forks source link

The debug message about Reconnect is wrong #13

Closed zepplock closed 8 years ago

zepplock commented 8 years ago

If I have my reconnect timeout sent to X seconds I see 1000x of the value in . For example for 120 seconds: [debug] [APNS] Feedback socket was closed. Reconnect in 1200000s.

I believe the offending lien is: https://github.com/chvanikoff/apns4ex/blob/9e205654462d557c015397f92524ffd6c052d1d3/lib/apns/worker.ex#L82

Can you quick fix next time you make a release or do you want a PR?

chvanikoff commented 8 years ago

Sure you can send PR and I'll merge it to the master but next version release is not planned yet. Thank you!

zepplock commented 8 years ago

He ere you go https://github.com/chvanikoff/apns4ex/pull/14

chvanikoff commented 8 years ago

Merged, thanks!

zepplock commented 8 years ago

Тебе спасибо, Роман!

chvanikoff commented 8 years ago

:smile: