-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Subscriptions] Don't call server if user tracks existing products
Currently if user tracks existing products or untracks non-existing products, we don't call server to add or remove subscriptions but still fetch all remote subscriptions and sync with local cache. This CL skips this unnecessary step to reduce server calls. (cherry picked from commit ad230b5) Bug: 1383382 Change-Id: Id9d927e175026cacbc844941235627f32ca7119b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4023352 Commit-Queue: Zhiyuan Cai <zhiyuancai@chromium.org> Reviewed-by: Matthew Jones <mdjones@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1070508} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4022088 Commit-Queue: Matthew Jones <mdjones@chromium.org> Auto-Submit: Zhiyuan Cai <zhiyuancai@chromium.org> Reviewed-by: Ayman Almadhoun <ayman@chromium.org> Cr-Commit-Position: refs/branch-heads/5414@{#30} Cr-Branched-From: 4417ee5-refs/heads/main@{#1070088}
- Loading branch information
Zhiyuan Cai
authored and
Chromium LUCI CQ
committed
Nov 14, 2022
1 parent
35a45b8
commit fc2424f
Showing
2 changed files
with
97 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters