Skip to content

fix(queue): correct queue capacity check in push operation#305

Merged
bittcrafter merged 1 commit intormqtt:masterfrom
bittcrafter:dev/0.17.0
Sep 21, 2025
Merged

fix(queue): correct queue capacity check in push operation#305
bittcrafter merged 1 commit intormqtt:masterfrom
bittcrafter:dev/0.17.0

Conversation

@bittcrafter
Copy link
Copy Markdown
Collaborator

  • Change capacity check from > to >= to properly handle full queue condition
  • This prevents exceeding the intended queue capacity by one element
  • Maintains existing error handling and callback functionality

* Change capacity check from `>` to `>=` to properly handle full queue condition
* This prevents exceeding the intended queue capacity by one element
* Maintains existing error handling and callback functionality
@bittcrafter bittcrafter merged commit 3f6049b into rmqtt:master Sep 21, 2025
10 checks passed
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