Skip to content

Add detail for channel_max 0 value #1673

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

Merged
merged 5 commits into from
Aug 15, 2018
Merged

Conversation

lukebakken
Copy link
Collaborator

It is not immediately obvious that a 0 value for channel_max means infinite or "no limit". This change will result in the following message being logged:

"negotiated channel_max = 0 (no limit) is higher than the maximum allowed value (2047)"

It is not immediately obvious that a 0 value for channel_max means infinite or "no limit". This change will result in the following message being logged:

"negotiated channel_max = 0 (no limit) is higher than the maximum allowed value (2047)"
@@ -446,7 +453,7 @@ log_connection_exception_with_severity(Severity, Fmt, Args) ->
debug -> rabbit_log_connection:debug(Fmt, Args);
info -> rabbit_log_connection:info(Fmt, Args);
warning -> rabbit_log_connection:warning(Fmt, Args);
error -> rabbit_log_connection:warning(Fmt, Args)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch @michaelklishin

@lukebakken lukebakken merged commit c7dea58 into master Aug 15, 2018
@lukebakken lukebakken deleted the lrb-add-channel_max-detail branch August 15, 2018 18:23
lukebakken added a commit that referenced this pull request Aug 15, 2018
Add detail for channel_max 0 value

(cherry picked from commit c7dea58)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants