Page MenuHomePhabricator

Move subscription updates to the `register` function.
ClosedPublic

Authored by joshuaspence on Jun 11 2014, 8:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 13, 1:58 PM
Unknown Object (File)
Fri, Dec 6, 5:46 PM
Unknown Object (File)
Tue, Nov 26, 11:15 PM
Unknown Object (File)
Fri, Nov 22, 9:21 PM
Unknown Object (File)
Nov 18 2024, 12:40 PM
Unknown Object (File)
Nov 17 2024, 8:35 PM
Unknown Object (File)
Nov 14 2024, 9:50 AM
Unknown Object (File)
Nov 10 2024, 3:03 PM
Subscribers

Details

Summary

Currently, the AphlictClient will only send its subscriptions to the AphlictMaster once. If the original AphlictMaster is closed and a new master is created, then client subscriptions will be lost.

Test Plan

Opened two separate tabs. Closed the "master" tab and noticed that the subscriptions were re-sent to the server.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

joshuaspence retitled this revision from to Move subscription notifications to the `register` function..
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.

Hold up on this.

OK yeah this seems to work for me.

joshuaspence retitled this revision from Move subscription notifications to the `register` function. to Move subscription updates to the `register` function..Jun 11 2014, 9:03 PM
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence edited edge metadata.
epriestley edited edge metadata.

Nice, this feels cleaner even ignoring the bit where it fixes an issue.

This revision is now accepted and ready to land.Jun 11 2014, 9:08 PM
epriestley updated this revision to Diff 22712.

Closed by commit rPaa534c69f042 (authored by @joshuaspence, committed by @epriestley).