novastone-media / MQTT-Client-Framework

iOS, macOS, tvOS native ObjectiveC MQTT Client Framework
Other
1.84k stars 463 forks source link

Publish Request Stuck in loop. #550

Open AlokGroomefy opened 4 years ago

AlokGroomefy commented 4 years ago

Short description

Library is sending multiple publish request to server on single publish request, happens frequently.

Environment

Steps to reproduce

  1. Keep iPhone in the active state, and after some time publish the request.
  2. on publishing continuous request, it gets stuck in a loop frequently.

Expected behavior

no request in a loop.

Actual behaviour

publish request gets stuck in a loop

Other information

this is probably happening on poor internet and if publish is made when the internet is off and the request gets saved in core data managed by the library.