Browse Source

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
pull/11674/head
Andy Wilkinson 8 years ago
parent
commit
42c1ce65e9
  1. 1
      spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/netty/NettyReactiveWebServerFactory.java

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

@ -97,6 +97,7 @@ public class NettyReactiveWebServerFactory extends AbstractReactiveWebServerFact @@ -97,6 +97,7 @@ public class NettyReactiveWebServerFactory extends AbstractReactiveWebServerFact
if (getCompression() != null && getCompression().getEnabled()) {
options.compression(getCompression().getMinResponseSize());
}
options.preferNative(false);
applyCustomizers(options);
}).build();
}

Loading…
Cancel
Save