Skip to content

Commit

Permalink
Fix call to MemoryIntrospector in IndexerControllerContext. (#17066)
Browse files Browse the repository at this point in the history
This was a logical conflict between #17057 and #17048.
  • Loading branch information
gianm authored Sep 15, 2024
1 parent fd6706c commit a276871
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public int defaultTargetPartitionsPerWorker()
{
// Assume tasks are symmetric: workers have the same number of processors available as a controller.
// Create one partition per processor per task, for maximum parallelism.
return memoryIntrospector.numProcessorsInJvm();
return memoryIntrospector.numProcessingThreads();
}

/**
Expand Down

0 comments on commit a276871

Please sign in to comment.