-
Notifications
You must be signed in to change notification settings - Fork 1k
docs: add default threads count about NioEventLoopGroup #3221
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
Conversation
Hey @brido4125 , I assume you found it hard to understand the defaults, correct? Would it make sense to add this to the documentation instead (not sure how many users dig in the source code to that level) ? |
Yes, exactly what i intended.
I agree. |
This comment is actually quite ancient (comes from the year of 2015) and does not seem to be entirely correct, as per the current code base. I would rephrase the entire JavaDoc with something less specific, because the The number of threads for both I/O and computation are selected in the following way:
So the setting for both I/O and computation threads are based on the presence and value of the above settings.
I think the best I can find was https://redis.github.io/lettuce/advanced-usage/#configuration-settings |
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue. |
7b9e8c3
to
8d85b04
Compare
add NioEventLoopGroup default threads counts in AbstractRedisClient javadoc.
Make sure that:
mvn formatter:format
target. Don’t submit any formatting related changes.