massakam commented on code in PR #3214:
URL: https://github.com/apache/bookkeeper/pull/3214#discussion_r970397565
##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/LedgerChecker.java:
##########
@@ -159,6 +166,8 @@ public LedgerChecker(BookieClient client, BookieWatcher
watcher, int inFlightRea
} else {
semaphore = null;
}
+ executor =
Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors(),
Review Comment:
@hangc0276 We don't necessarily need threads equal to the number of
processors. I thought it was strange to specify a fixed value, so I just set
`Runtime.getRuntime().availableProcessors()`.
--
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]