Repository navigation
Minor Bugs Fixes - #3246
Closed
prosgarz35 wants to merge 3 commits into
Closed
Minor Bugs Fixes#3246prosgarz35 wants to merge 3 commits into
prosgarz35 wants to merge 3 commits into
Conversation
Contributor
|
registerMBean(): hides a real error instead of fixing it If the MBean name (org.apache.james:type=server,name=) is already registered, the PR unregisters the existing MBean and registers its own in its place. The problems:
Could you describe the issue you hit ?We'd rather fail fast with a clearer error message, or fix the lifecycle that leaks the registration. |
chibenwa
reviewed
Oct 12, 2026
Comment on lines
-484
to
+486
| // enable tcp keep-alives | ||
| // enable tcp keep-alives and disable Nagle's algorithm for low latency | ||
| bootstrap.childOption(ChannelOption.SO_KEEPALIVE, true); | ||
| bootstrap.childOption(ChannelOption.TCP_NODELAY, true); |
Contributor
There was a problem hiding this comment.
It does nothing new.
super.configureBootstrap(bootstrap) already sets it in protocols/netty/src/main/java/org/apache/james/protocols/netty/AbstractAsyncServer.java:182
The added line sets it a second time, and the new comment wrongly suggests it wasn't set before.
Contributor
Author
|
Yeah looks like i made mistake |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Have a look