less waiting
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m57s

This commit is contained in:
matst80
2024-11-11 21:43:31 +01:00
parent 7abe075ed9
commit 335ede07f8
2 changed files with 2 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ func (m *CartTCPClient) Call(messageType uint32, id CartId, responseType uint32,
select {
case ret := <-packetChan:
return ret, nil
case <-time.After(3 * time.Second):
case <-time.After(time.Second):
return nil, fmt.Errorf("timeout")
}
}