Closed Bug 1440467 Opened 2 years ago Closed 2 years ago
Add always-on push connection with pref control
59 bytes, text/x-review-board-request
A pref value should be added that controls whether the websocket connection for Push is opened even when there are no push subscriptions (always-on). Rationale: Currently, our Push service has had synthetic benchmarks showing its ability to handle 10 million concurrent connections. Our synthetic testing clients may not perfectly simulate the real Firefox clients and connection handling. We should have the ability to pref control whether the push connection channels is opened so that we can verify our ability to handle all Firefox clients connecting via either System Add-Ons or SHIELD.
I think this would involve changing https://searchfox.org/mozilla-central/rev/bd05e3853c6e982e2a35c1cc404b987b2bc914d6/dom/push/PushService.jsm#241-247 and https://searchfox.org/mozilla-central/rev/9a8d3f8191b15cdca89a7ce044c7bea2dd0462dc/dom/push/PushServiceWebSocket.jsm#515-521 to connect unconditionally if the pref is set.
Comment on attachment 8953345 [details] Bug 1440467 - Add a pref to always connect to the Push server without existing subscriptions. https://reviewboard.mozilla.org/r/222636/#review228902
Attachment #8953345 - Flags: review?(martin.thomson) → review+
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/6425eadbba7a Add a pref to always connect to the Push server without existing subscriptions. r=mt
You need to log in before you can comment on or make changes to this bug.