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

This commit is contained in:
yurii 2026-03-02 17:11:29 +00:00
parent aeea755045
commit eb80332c5a
3 changed files with 5 additions and 2 deletions

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)

View File

@ -27,7 +27,7 @@ import (
)
const (
buildVersion = "1.1.2"
buildVersion = "1.1.3"
serviceName = "hardlink"
pollingFrequency = 8 * time.Second
)

View File

@ -2,6 +2,9 @@
builtVersion is a const in main.go
#### 1.1.3 - 02 February 2026
increased timeout for reading response from the Assa abloy lock server to 20 seconds
#### 1.1.2 - 02 February 2026
added logging for unknown dispenser status positions