You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The client._inflight_messages counter of the paho client is negative and decreasing with QoS 2 for publish and subscribe on the same topic. Other combinations of the QoS levels will not show the issue.
The log seems to indicate that the published messages are transfered successfully:
When a QoS 2 message is received, the inflight messages was decremented
on `PUBREL`. But the inflight messages must be a count of sent but not
received messages. This yielded a negative inflight count for QoS 2
messages.
This change removes this decrement and fixeseclipse-paho#805.
Signed-off-by: Ruben Bär <[email protected]>
Python 3.9, Windows 10
paho-mqtt 1.6.1
The
client._inflight_messages
counter of the paho client is negative and decreasing with QoS 2 for publish and subscribe on the same topic. Other combinations of the QoS levels will not show the issue.The log seems to indicate that the published messages are transfered successfully:
Here is a MCVE
The text was updated successfully, but these errors were encountered: