increased timeout for reading response from the Assa abloy lock server to 20 seconds
This commit is contained in:
parent
aeea755045
commit
eb80332c5a
@ -102,7 +102,7 @@ func sendAndReceive(conn net.Conn, command []byte) (string, error) {
|
|||||||
return "", fmt.Errorf("failed to send command: %v", err)
|
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)
|
buf := make([]byte, 128)
|
||||||
reader := bufio.NewReader(conn)
|
reader := bufio.NewReader(conn)
|
||||||
|
|||||||
2
main.go
2
main.go
@ -27,7 +27,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
buildVersion = "1.1.2"
|
buildVersion = "1.1.3"
|
||||||
serviceName = "hardlink"
|
serviceName = "hardlink"
|
||||||
pollingFrequency = 8 * time.Second
|
pollingFrequency = 8 * time.Second
|
||||||
)
|
)
|
||||||
|
|||||||
@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
builtVersion is a const in main.go
|
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
|
#### 1.1.2 - 02 February 2026
|
||||||
added logging for unknown dispenser status positions
|
added logging for unknown dispenser status positions
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user