Baunsgaard commented on code in PR #2489:
URL: https://github.com/apache/systemds/pull/2489#discussion_r3413204109


##########
src/main/java/org/apache/sysds/runtime/instructions/ooc/OOCInstruction.java:
##########
@@ -1196,7 +1196,7 @@ protected <T> CompletableFuture<Void> 
submitOOCTasks(OOCStream<T> queue, Consume
        }
 
        protected CompletableFuture<Void> submitOOCTask(Runnable r, 
StreamContext ctx) {
-               ExecutorService pool = CommonThreadPool.get();
+               ExecutorService pool = CommonThreadPool.getDynamicPool();

Review Comment:
   okay did not know you had more tasks than threads in the pool.



-- 
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]

Reply via email to