Skip to content
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

Make configurable the maximum qos that a server can handle #811

Merged

Conversation

andsel
Copy link
Collaborator

@andsel andsel commented Jan 22, 2024

Release notes

Exposed the maximum granted QoS by the server with the config setting 'max_server_granted_qos'.

What does this PR do?

Updates the PostOffice when process the subscribe message to cap the QoS that the server would handle.

Why is it important/What is the impact to the user?

Permit to the user to limit the capabilities of the server to limit the support qos level.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files (and/or docker env variables)
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • I have updated the Changelog if it's a feature or a fix that has to be reported

A

Related issues

@andsel andsel self-assigned this Jan 22, 2024
@andsel andsel mentioned this pull request Jan 22, 2024
5 tasks
@andsel andsel changed the title Feature/configurable max qos in subscription Make configurable the maximum qos that a server can handle Jan 22, 2024
@andsel andsel marked this pull request as ready for review January 22, 2024 17:34
@andsel andsel merged commit 0ac5221 into moquette-io:main Jan 22, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant