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
This commit is contained in:
Andy Wilkinson 2018-01-18 10:18:13 +00:00
parent 40c537daa0
commit 42c1ce65e9
1 changed files with 1 additions and 0 deletions

View File

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