Commit ca65d8d
Don't use messageIds when publishes cannot be sent (#318)
When maxInflight is reached all new messages do get a message id. At some point
the available messageids will get exausted resulting in even bigger issues
This patch prevents messageids from being exausted by reclaiming them for
undoed messages
Signed-off-by: Hmvp <github@hmvp.nl>1 parent 90d76d1 commit ca65d8d
1 file changed
Lines changed: 7 additions & 0 deletions
File tree
- org.eclipse.paho.client.mqttv3/src/main/java/org/eclipse/paho/client/mqttv3/internal
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
615 | 615 | | |
616 | 616 | | |
617 | 617 | | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
618 | 625 | | |
619 | 626 | | |
620 | 627 | | |
| |||
0 commit comments