Skip to content

Commit

Permalink
Assert CategorizedWorkerPoolImpl::Start (#824)
Browse files Browse the repository at this point in the history
  • Loading branch information
Domiii committed Jul 18, 2023
1 parent b58cf6e commit ee8d9da
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,11 @@ void CategorizedWorkerPoolImpl::Start(int max_concurrency_foreground) {
max_concurrency_foreground = 1;
}

recordreplay::Assert(
"[RUN-2353-2358] CategorizedWorkerPoolImpl::Start %d %d %d",
max_concurrency_foreground, recordreplay::IsRecordingOrReplaying(),
recordreplay::FeatureEnabled("no-render-workers"));

// |max_concurrency_foreground| normal threads and 1 background threads are
// created.
const size_t num_threads = max_concurrency_foreground + 1;
Expand Down

0 comments on commit ee8d9da

Please sign in to comment.