novastone-media / MQTT-Client-Framework

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

GCDTimer is not working #548

Open ice0github opened 4 years ago

ice0github commented 4 years ago

Short description

In macOS, GCDTimer has delay, when i set keepalive to 5s, the callback method will be active after 3s ~ 24s, but it work in iOS

Environment

Steps to reproduce

  1. log current date when keep alive method be call
  2. connect broker and set keepalive to 5s
  3. wait 20 min and review logs

Others

sorry, my english is not good