Page MenuHomePhabricator

After Aphlict reconnects, ask the server to replay recent messages
ClosedPublic

Authored by epriestley on Apr 17 2017, 9:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Feb 26, 9:30 PM
Unknown Object (File)
Tue, Feb 25, 1:39 PM
Unknown Object (File)
Mon, Feb 24, 3:39 PM
Unknown Object (File)
Mon, Feb 24, 2:18 PM
Unknown Object (File)
Mon, Feb 24, 12:20 PM
Unknown Object (File)
Mon, Feb 24, 12:07 PM
Unknown Object (File)
Mon, Feb 24, 11:34 AM
Unknown Object (File)
Mon, Feb 24, 11:05 AM
Subscribers
None

Details

Summary

Fixes T12563. If we've ever seen an "open", mark all future connections as reconnects. When we reconnect, replay recent history.

(Until duplicate messages (T12564) are handled better this may cause some notification duplication.)

Also emit a reconnect event (for T12566) but don't use it yet.

Test Plan

Screen Shot 2017-04-17 at 2.22.56 PM.png (916×2 px, 347 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Apr 17 2017, 10:33 PM
This revision was automatically updated to reflect the committed changes.