eclipse/paho.mqtt.m2mqtt

significant delay when publishing with qos 1 or 2

saqirltu opened this issue · 1 comments

Hi,

I'm creating a MQTT client to publish and subscribe in Unity. I have the broker on a server on local network. When I use QOS 0 to publish, the latency is 1~5ms. But when I use QOS 1 or 2 to publish, the latency turns to 200ms. Both test results remain the same regardsless of different subscribing QOS.

Could there be any hint for this isssue? Many thanks!

problem solved after setting TCP_DELAY to false in the config