Skip to content

Commit

Permalink
Slow down the read deadline
Browse files Browse the repository at this point in the history
This worked with my IC-7300 on a local network connection.
  • Loading branch information
xylo04 committed Sep 12, 2024
1 parent 8d1fb7a commit ace37f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit ace37f5

Please sign in to comment.