kfaraz commented on code in PR #19025:
URL: https://github.com/apache/druid/pull/19025#discussion_r2826124384
##########
processing/src/main/java/org/apache/druid/collections/DefaultBlockingPool.java:
##########
@@ -59,9 +60,12 @@ public DefaultBlockingPool(
this.objects = new ArrayDeque<>(limit);
this.maxSize = limit;
- for (int i = 0; i < limit; i++) {
- objects.add(generator.get());
- }
+ objects.addAll(
Review Comment:
Please add a comment here on why the parallelization is useful so that
someone doesn't change this back in the future.
--
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]