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)
Sun, Apr 21, 4:06 PM
Unknown Object (File)
Fri, Apr 19, 6:24 PM
Unknown Object (File)
Fri, Apr 19, 1:51 PM
Unknown Object (File)
Wed, Apr 17, 3:06 PM
Unknown Object (File)
Thu, Apr 11, 7:16 AM
Unknown Object (File)
Sat, Mar 30, 4:31 AM
Unknown Object (File)
Feb 13 2024, 3:16 PM
Unknown Object (File)
Feb 3 2024, 3:35 PM
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.