[
https://issues.apache.org/jira/browse/IGNITE-24477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17927712#comment-17927712
]
Pavel Pereslegin commented on IGNITE-24477:
-------------------------------------------
Try to use {{threadPoolsManager.commonScheduler()}} for this.
> Sql. Add ability to define executor that will be used for public script
> execution
> ---------------------------------------------------------------------------------
>
> Key: IGNITE-24477
> URL: https://issues.apache.org/jira/browse/IGNITE-24477
> Project: Ignite
> Issue Type: Improvement
> Components: sql
> Reporter: Pavel Pereslegin
> Priority: Major
> Labels: ignite-3
>
> Currently public script execution uses ForkJoinPool for async execution.
> {code:java}
> if (cursor.hasNextResult()) {
> cursor.nextResult().whenCompleteAsync(this::processCursor);
> return;
> }
> {code}
> For example, thin client accepts user specified executor for... something
> (see IgniteClient.Builder.asyncContinuationExecutor(...)).
> It might be worth somehow adding the ability to define a pool for
> asynchronous processing in the embedded client.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)