less waiting
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m57s
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 1m57s
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user