From 7e2c9c8985c881723744b65d8e5fd647cb1f5293 Mon Sep 17 00:00:00 2001 From: Dylan Date: Fri, 25 Oct 2024 13:22:58 +0100 Subject: [PATCH] Increase heartbeat frequency 30 Seconds really feels like a long time when you're looking at the GUI waiting for the source to be marked as disconnected. I think 10 is better --- cmd/pterm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/pterm.go b/cmd/pterm.go index 497280b..3d2f0a9 100644 --- a/cmd/pterm.go +++ b/cmd/pterm.go @@ -271,7 +271,7 @@ func heartbeatOptions(oi sdp.OvermindInstance, token *oauth2.Token) *discovery.H &authenticatedClient, oi.ApiUrl.String(), ), - Frequency: time.Second * 30, + Frequency: time.Second * 10, } }