New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Let event loop threads implement reactor NonBlocking #10609
Conversation
This patch updates the default netty ThreadFactory to have the threads implement reactor NonBlocking. Any reactor blocking operations will then throw when they're done on an event loop thread.
http-netty/src/main/java/io/micronaut/http/netty/channel/NettyThreadFactoryConfiguration.java
Outdated
Show resolved
Hide resolved
this will likely break security. in the meeting i suggested we move the security filter to blocking for now. |
security is not implemented correctly if it is blocking and if it is blocking needs to be declared as such. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
http-netty/src/main/java/io/micronaut/http/netty/channel/NettyThreadFactory.java
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
This patch updates the default netty ThreadFactory to have the threads implement reactor NonBlocking. Any reactor blocking operations will then throw when they're done on an event loop thread.