Skip to content

Commit 42c1ce6

Browse files
committed
Disable Reactor Netty's use of kqueue/epoll
There is a suspicion that the use of epoll is causing the intermittent failures being tracked by gh-10569. This commit disables the use of epoll to see if it improves the situation. See gh-10569
1 parent 40c537d commit 42c1ce6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/netty/NettyReactiveWebServerFactory.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ private HttpServer createHttpServer() {
9797
if (getCompression() != null && getCompression().getEnabled()) {
9898
options.compression(getCompression().getMinResponseSize());
9999
}
100+
options.preferNative(false);
100101
applyCustomizers(options);
101102
}).build();
102103
}

0 commit comments

Comments
 (0)