diff --git a/lockserver/tljlockserver.go b/lockserver/tljlockserver.go index 95a73ba..910d67d 100644 --- a/lockserver/tljlockserver.go +++ b/lockserver/tljlockserver.go @@ -37,7 +37,7 @@ func (lock *TLJLockServer) BuildCommand(doorReq DoorCardRequest, checkIn, checkO func (lock *TLJLockServer) LockSequence() error { log.Infof("Sending command: %q", lock.command) - client := &http.Client{Timeout: 10 * time.Second} + client := &http.Client{Timeout: 30 * time.Second} resp, err := client.Get(lock.command) if err != nil { return fmt.Errorf("HTTP request failed: %v", err) diff --git a/main.go b/main.go index 47e3cf6..fd7290b 100644 --- a/main.go +++ b/main.go @@ -29,7 +29,7 @@ import ( ) const ( - buildVersion = "1.0.17" + buildVersion = "1.0.18" serviceName = "hardlink" customLayout = "2006-01-02 15:04:05 -0700" transactionUrl = "http://127.0.0.1:18181/start-transaction/" diff --git a/release notes.md b/release notes.md index fe0c975..49c379b 100644 --- a/release notes.md +++ b/release notes.md @@ -2,6 +2,9 @@ builtVersion is a const in main.go +#### 1.0.18 - 04 September 2025 +increased timeout for TLJ lock server connection to 30 seconds + #### 1.0.17 - 30 August 2025 added functionality to commit transactions