[ 
https://issues.apache.org/jira/browse/RATIS-1122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17223999#comment-17223999
 ] 

Tsz-wo Sze commented on RATIS-1122:
-----------------------------------

Thanks for filing this.  We should use the thenApplyAsync with an Executor 
parameter.  Then, we can make the thread pool configurable.

https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/CompletableFuture.html#thenApplyAsync-java.util.function.Function-java.util.concurrent.Executor-

> Use thenApplyAsync instead of thenApply
> ---------------------------------------
>
>                 Key: RATIS-1122
>                 URL: https://issues.apache.org/jira/browse/RATIS-1122
>             Project: Ratis
>          Issue Type: Bug
>            Reporter: runzhiwang
>            Assignee: runzhiwang
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to