Closed
Bug 1102146
Opened 10 years ago
Closed 10 years ago
No longer need multiple GET requests for individual rooms after a getAll
Categories
(Hello (Loop) :: Client, defect, P1)
Hello (Loop)
Client
Tracking
(firefox35 fixed, firefox36 fixed)
backlog | Fx35+ |
People
(Reporter: standard8, Assigned: mikedeboer)
References
Details
(Whiteboard: [rooms])
Attachments
(1 file)
1.70 KB,
patch
|
standard8
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Since bug 1087041 landed in the server (and is in the production version), we no longer need to do multiple GET requests on individual rooms to get the full details - the details are in the getAll information.
Hence we can drop the requests and save the request time.
Assignee | ||
Updated•10 years ago
|
Status: NEW → ASSIGNED
Iteration: --- → 36.3
Points: --- → 2
Flags: qe-verify-
Flags: firefox-backlog+
Whiteboard: [rooms]
Assignee | ||
Comment 1•10 years ago
|
||
Flags: needinfo?(mmucci)
Attachment #8526041 -
Flags: review?(standard8)
Reporter | ||
Comment 3•10 years ago
|
||
Comment on attachment 8526041 [details] [diff] [review]
Patch v1: reduce the amount of HAWK requests for rooms getAll
Review of attachment 8526041 [details] [diff] [review]:
-----------------------------------------------------------------
r=Standard8 with the comment fixed.
::: browser/components/loop/LoopRooms.jsm
@@ +183,5 @@
> if ("currSize" in room) {
> delete room.currSize;
> }
> this.rooms.set(room.roomToken, room);
> +
nit: whitespace on blank line.
Attachment #8526041 -
Flags: review?(standard8) → review+
Assignee | ||
Comment 4•10 years ago
|
||
Pushed with comment addressed: https://hg.mozilla.org/integration/fx-team/rev/0cad1e05f689
Assignee | ||
Comment 5•10 years ago
|
||
Somehow my hg fu failed me. Pushed a follow-up to _really_ address the comment: https://hg.mozilla.org/integration/fx-team/rev/da918fa50e5f
https://hg.mozilla.org/mozilla-central/rev/0cad1e05f689
https://hg.mozilla.org/mozilla-central/rev/da918fa50e5f
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
Comment 7•10 years ago
|
||
Comment on attachment 8526041 [details] [diff] [review]
Patch v1: reduce the amount of HAWK requests for rooms getAll
Approval Request Comment
[Risks and why]: Loop rooms code to speed up getting room details
also keeps code identical between 35 and 36 to increase testing impact
Simple patch to match server change.
[String/UUID change made/needed]: none
Attachment #8526041 -
Flags: approval-mozilla-aurora?
Updated•10 years ago
|
Attachment #8526041 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 8•10 years ago
|
||
Updated•10 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•