Skip to content

Fix unecessary warning when inflight maximum is unlimited#3526

Open
fungiboletus wants to merge 1 commit intoeclipse-mosquitto:masterfrom
fungiboletus:fix-unlimited-inflight-warning
Open

Fix unecessary warning when inflight maximum is unlimited#3526
fungiboletus wants to merge 1 commit intoeclipse-mosquitto:masterfrom
fungiboletus:fix-unlimited-inflight-warning

Conversation

@fungiboletus
Copy link
Copy Markdown

Since Mosquitto 2.1, I get a lot of Client %s has exceeded its receive-maximum quota. This behaviour must be fixed on the client. warnings on the console, but I think those aren't necessary warnings as I run with the following configuration:

max_inflight_messages 0
max_queued_messages 0

In context.c, inflight_quota is set to max_inflight_messages which is 0 in my case.

I added a similar check like in database.c: context->msgs_in.inflight_maximum != 0.

I guess that should do it.

Signed-off-by: Antoine Pultier <antoine.pultier@sintef.no>
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.

1 participant