Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

Change heartbeat to once per hour

Acho Arnold77f1faadfcf5
diff --git a/api/pkg/services/heartbeat_service.go b/api/pkg/services/heartbeat_service.go
index 8ab42b15..b876202e 100644
--- a/api/pkg/services/heartbeat_service.go
+++ b/api/pkg/services/heartbeat_service.go
@@ -19,7 +19,7 @@ import (
const (
// select id, a.timestamp, a.owner, a.timestamp - (SELECT timestamp from heartbeats b where b.timestamp < a.timestamp and a.owner = b.owner and a.user_id = b.user_id order by b.timestamp desc limit 1) as diff from heartbeats a;
- heartbeatCheckInterval = 25 * time.Minute
+ heartbeatCheckInterval = 1 * time.Hour
)
// HeartbeatService is handles heartbeat requests