Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(210)

Issue 2650653009: Reset extension downloader when updating external extension cache (Closed)

Created:
3 years, 11 months ago by tbarzic
Modified:
3 years, 10 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reset extension downloader when updating external extension cache. Downloader is reset to force restarting any existing attempts for extension download. If downloader had previously started an extension download, but hasn't yet finished, adding a new request for the extension would just update existing request and wait for it to finish. This can be problematic in case the previous extension download kept failing - e.g. due to network problem. Downloader would retry downloading the extension, but with an exponential back-off. This means that request for an extension download when extension list is updated might be delayed for a long time due to previous failures (up to 17 minutes; download request allows up to 10 retries before reporting download failure - final delay seems to be 17 minutes). Resetting downloader when extension list update is requested will reset the failure count, and thus reset the back-off value. BUG=685878 Review-Url: https://codereview.chromium.org/2650653009 Cr-Commit-Position: refs/heads/master@{#446704} Committed: https://chromium.googlesource.com/chromium/src/+/c85710cea0a6cd68a730dc537d05c970015ef521

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M chrome/browser/chromeos/extensions/external_cache.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (12 generated)
tbarzic
ptal
3 years, 11 months ago (2017-01-27 03:17:40 UTC) #9
xiyuan
lgtm
3 years, 10 months ago (2017-01-27 15:28:39 UTC) #10
tbarzic
+steel, as fyi
3 years, 10 months ago (2017-01-27 17:33:32 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2650653009/1
3 years, 10 months ago (2017-01-27 17:33:57 UTC) #14
commit-bot: I haz the power
3 years, 10 months ago (2017-01-27 17:39:18 UTC) #17
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/c85710cea0a6cd68a730dc537d05...

Powered by Google App Engine
This is Rietveld 408576698