Commit 34fabbdb authored by Xiaochu Liu's avatar Xiaochu Liu Committed by Commit Bot

component updater: add temporary VLOG to CUS

I suspect throttling is preventing CUS from updating crostini. Add this
temporary VLOG to confirm this.

BUG=chromium:851151
TEST=None

Change-Id: I505214071b9f39c4ab3f95e96d5183667901d853
Reviewed-on: https://chromium-review.googlesource.com/1123261
Commit-Queue: Xiaochu Liu <xiaochu@chromium.org>
Reviewed-by: default avatarSorin Jianu <sorin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#572036}
parent 3c4c9e95
......@@ -82,6 +82,11 @@ void UpdateEngine::Update(bool is_foreground,
}
if (IsThrottled(is_foreground)) {
// TODO(xiaochu): remove this log after https://crbug.com/851151 is fixed.
VLOG(1) << "Background update is throttled for following components:";
for (const auto& id : ids) {
VLOG(1) << "id:" << id;
}
base::ThreadTaskRunnerHandle::Get()->PostTask(
FROM_HERE, base::BindOnce(std::move(callback), Error::RETRY_LATER));
return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment