GoCarrot / teak-ios

Teak SDK for iOS
Apache License 2.0
3 stars 1 forks source link

Remote configuration can change interval between heartbeat requests #31

Closed AlexSc closed 4 years ago

AlexSc commented 4 years ago

Currently heartbeat requests are run at a fixed interval of 60 seconds. Instead they should run at the interval specified by heartbeat_interval from the settings request, defaulting to 60 seconds if the field is not present. If the field is present and <= 0, the heartbeat requests should not be made.

This field will be an integer, and specifies the number of seconds between heartbeats.