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

Unified Diff: components/scheduler/child/scheduler_helper.cc

Issue 1243143003: Revert of scheduler: Increase work batch size to 4 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/scheduler/child/scheduler_helper.cc
diff --git a/components/scheduler/child/scheduler_helper.cc b/components/scheduler/child/scheduler_helper.cc
index fdf8feb7fe6d55b36616039126f9adf9c17136b1..99b8283b9f8908346aba7abb2a6c5e69d1bb3b56 100644
--- a/components/scheduler/child/scheduler_helper.cc
+++ b/components/scheduler/child/scheduler_helper.cc
@@ -64,7 +64,8 @@
i, TaskQueueIdToString(static_cast<QueueId>(i)));
}
- task_queue_manager_->SetWorkBatchSize(4);
+ // TODO(skyostil): Increase this to 4 (crbug.com/444764).
+ task_queue_manager_->SetWorkBatchSize(1);
main_task_runner_->SetDefaultTaskRunner(
task_queue_manager_->TaskRunnerForQueue(QueueId::DEFAULT_TASK_QUEUE));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698