Skip to content

How to disable the "exponential back off algorithm" for reconnect? #226

@pearjoint

Description

@pearjoint

I raised this for the previous version and it was said that 0.7 lets us disable exponential back-off for reconnects -- how / where?

(Irrelevant side-note... I still fully do not grasp the utility of that, by the way. Sure Gmail does the same when you lose your connectivity but... why? So if I lose my 3G connection for 15 minutes and then go back offline, exponential back-off could cause the reconnection to happen only minutes later rather than seconds later -- and as a result a "reconnect manually now" link would have to be added to such an app. If my reconnect interval could always be 5 or 10 seconds with NO back-off -- simplicity and "auto-magical" ease-of-use and no confusing reconnect links. As long as either the client or the server are offline, a regular, non-backoff reconnecting doesn't hurt either party, right?)

Anyway, I'd love to turn this off. Thanks in advance for letting me know how!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions