Changing from %v to %d for tieout debug print.
This commit is contained in:
parent
034f0087c4
commit
b654756364
1 changed files with 1 additions and 1 deletions
2
retry.go
2
retry.go
|
@ -179,7 +179,7 @@ func (r *realisClient) thriftCallWithRetries(returnOnTimeout bool, thriftCall au
|
|||
if e.Timeout() {
|
||||
timeouts++
|
||||
r.logger.DebugPrintf(
|
||||
"Client closed connection (timedout) %v times before server responded, consider increasing connection timeout",
|
||||
"Client closed connection (timedout) %d times before server responded, consider increasing connection timeout",
|
||||
timeouts)
|
||||
if returnOnTimeout {
|
||||
return resp, newTimedoutError(errors.New("client connection closed before server answer"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue