feat(GODT-2553): Try to send telemetry every hour.

This commit is contained in:
Romain Le Jeune
2023-04-24 12:45:12 +00:00
parent 00adb8bc22
commit 3ef3ab72ed
6 changed files with 21 additions and 14 deletions

View File

@ -305,7 +305,7 @@ func (bridge *Bridge) SetTelemetryDisabled(isDisabled bool) error {
}
// If telemetry is re-enabled locally, try to send the heartbeat.
if !isDisabled {
bridge.heartbeat.TrySending()
defer bridge.goHeartbeat()
}
return nil
}