njh / ruby-mqtt

Pure Ruby gem that implements the MQTT protocol, a lightweight protocol for publish/subscribe messaging.
http://www.rubydoc.info/gems/mqtt
MIT License
538 stars 135 forks source link

Assume publish response as ping response #128

Open cosmo0920 opened 3 years ago

cosmo0920 commented 3 years ago

Fixes #127 This option should be needed due to high frequently traffic environment.

When flood of messages are reached in this client, keep_alive! response may not reached until response timeout and causes MQTT::ProtocolException with "No Ping Response received for xxx seconds".

Signed-off-by: Hiroshi Hatake cosmo0920.oucc@gmail.com

phlegx commented 10 months ago

Cool! Exactly my case. Thx!