Skip to content

Do a message queue gc after receiving messages.#199

Open
denravonska wants to merge 1 commit into
LiamBindle:masterfrom
denravonska:fix/full-tx-queue-stays-full
Open

Do a message queue gc after receiving messages.#199
denravonska wants to merge 1 commit into
LiamBindle:masterfrom
denravonska:fix/full-tx-queue-stays-full

Conversation

@denravonska
Copy link
Copy Markdown

@denravonska denravonska commented Mar 13, 2026

Clean out messages that were waiting for ACK and clear the client error in case it was MQTT_ERROR_SEND_BUFFER_IS_FULL and the TX queue now has room again.
I did notice failing tests earlier but now I can't reproduce them. It's possible that they failed due to using the remote Mosquitto broker.

This is an alternative fix to #155.

Clean out messages that were waiting for ACK and clear the client error in case
it was MQTT_ERROR_SEND_BUFFER_IS_FULL and the TX queue now has room again.
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