increased timeout for reading response from the Assa abloy lock server to 20 seconds

This commit is contained in:
2026-03-02 17:11:29 +00:00
parent aeea755045
commit eb80332c5a
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ func sendAndReceive(conn net.Conn, command []byte) (string, error) {
return "", fmt.Errorf("failed to send command: %v", err)
}
conn.SetReadDeadline(time.Now().Add(10 * time.Second))
conn.SetReadDeadline(time.Now().Add(20 * time.Second))
buf := make([]byte, 128)
reader := bufio.NewReader(conn)