Fix call to MemoryIntrospector in IndexerControllerContext. (#17066)

This was a logical conflict between #17057 and #17048.
This commit is contained in:
Gian Merlino 2024-09-14 18:10:56 -07:00 committed by GitHub
parent fd6706cd6a
commit a276871dd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ public class IndexerControllerContext implements ControllerContext
{
// 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();
}
/**