From ace37f506b14f0135c4b4eec1e8f50aaf13900b3 Mon Sep 17 00:00:00 2001 From: Chris Keller Date: Wed, 11 Sep 2024 21:36:02 -0600 Subject: [PATCH] Slow down the read deadline This worked with my IC-7300 on a local network connection. --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 51eb15a..796148f 100644 --- a/client.go +++ b/client.go @@ -48,7 +48,7 @@ func (s *Client) writeRead(send string) (string, error) { var resp string for { // TODO: Should this be configurable? - err := s.conn.SetReadDeadline(time.Now().Add(30 * time.Millisecond)) + err := s.conn.SetReadDeadline(time.Now().Add(100 * time.Millisecond)) if err != nil { return "", err }