Skip to content

Commit 77f1faa

Browse files
committed
Change heartbeat to once per hour
1 parent 2d46c09 commit 77f1faa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/pkg/services/heartbeat_service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919

2020
const (
2121
// 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;
22-
heartbeatCheckInterval = 25 * time.Minute
22+
heartbeatCheckInterval = 1 * time.Hour
2323
)
2424

2525
// HeartbeatService is handles heartbeat requests

0 commit comments

Comments
 (0)