adoroszlai commented on code in PR #10133:
URL: https://github.com/apache/ozone/pull/10133#discussion_r3346474061


##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/spi/impl/OzoneManagerServiceProviderImpl.java:
##########
@@ -229,7 +229,7 @@ public OzoneManagerServiceProviderImpl(
         new ThreadFactoryBuilder().setNameFormat(threadNamePrefix + 
"SyncOM-%d")
             .build();
     // Number of parallel workers
-    int omDBTarProcessorThreadCount = Math.max(64, 
Runtime.getRuntime().availableProcessors());
+    int omDBTarProcessorThreadCount = Math.min(64, 
Runtime.getRuntime().availableProcessors());

Review Comment:
   @ptlrs can you please clarify the intended thread count?  Should it be at 
least or at most 64?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to