Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
为什么SpringWebFlux调度处理程序要有界弹性调度_Spring_Spring Webflux_Reactor - Fatal编程技术网

为什么SpringWebFlux调度处理程序要有界弹性调度

为什么SpringWebFlux调度处理程序要有界弹性调度,spring,spring-webflux,reactor,Spring,Spring Webflux,Reactor,我发现运行自定义代码的线程名为[boundedElastic-1]。我知道SpringWebFlux使用netty,我发现reactor-epoll线程类似于NettyEventLoop。我认为我的无阻塞自定义代码应该在reactor epoll线程池中运行,但事实并非如此。有什么我可以配置的吗 我认为这是我们的一个特色 根据和,WebSession将从Spring 5.2.2或Spring Boot 2.2.2开始在Schedulers.parallel()中创建 所以,这是一个功能,不是一个

我发现运行自定义代码的线程名为[boundedElastic-1]。我知道SpringWebFlux使用netty,我发现reactor-epoll线程类似于NettyEventLoop。我认为我的无阻塞自定义代码应该在reactor epoll线程池中运行,但事实并非如此。有什么我可以配置的吗

我认为这是我们的一个特色

根据和,
WebSession
将从Spring 5.2.2或Spring Boot 2.2.2开始在
Schedulers.parallel()
中创建


所以,这是一个功能,不是一个bug

SpringWebFlux版本是2.2.2,请显示您的代码。