chvanikoff / apns4ex

APNS for Elixir

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The debug message about Reconnect is wrong

zepplock opened this issue · comments

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:

interval = state.config.feedback_interval * 1000

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

commented

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

He ere you go #14

commented

Merged, thanks!

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

commented

😄