HomePhabricator

When disconnected from Aphlict after a successful connection, retry the first…

Description

When disconnected from Aphlict after a successful connection, retry the first reconnect right away

Summary:
Fixes T12567. We currently retry after 2s, 4s, 8s, 16s, ...

If we connected cleanly once, retry the first time right away. There are a bunch of reasonable cases where this will work fine and we don't need to wait. Then we fall back: 0s, 2s, 4s, 8s, ...

Test Plan:

Screen Shot 2017-04-17 at 1.21.28 PM.png (235×657 px, 45 KB)

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12567

Differential Revision: https://secure.phabricator.com/D17706