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)
Sat, May 4, 3:22 PM
Unknown Object (File)
Fri, May 3, 2:25 AM
Unknown Object (File)
Mon, Apr 29, 1:54 PM
Unknown Object (File)
Sun, Apr 28, 5:28 PM
Unknown Object (File)
Sat, Apr 27, 2:47 PM
Unknown Object (File)
Wed, Apr 24, 10:01 PM
Unknown Object (File)
Wed, Apr 24, 2:13 PM
Unknown Object (File)
Wed, Apr 24, 1:13 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
Branch
aphlict6
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 16518
Build 22007: Run Core Tests
Build 22006: arc lint + arc unit

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.