diff options
author | Erik Dubbelboer <erik@dubbelboer.com> | 2022-04-01 18:11:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-01 18:11:16 +0200 |
commit | 7a5afddf5b805a022f8e81281c772c11600da2f4 (patch) | |
tree | 76ecbf4981921328d823eb925e57f874f52c34f2 /client.go | |
parent | support adding/removing clients from LBClient (#1243) (diff) | |
download | fasthttp-7a5afddf5b805a022f8e81281c772c11600da2f4.tar.gz fasthttp-7a5afddf5b805a022f8e81281c772c11600da2f4.tar.bz2 fasthttp-7a5afddf5b805a022f8e81281c772c11600da2f4.zip |
Mostly in tests.
Diffstat (limited to 'client.go')
-rw-r--r-- | client.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2630,7 +2630,7 @@ func (c *pipelineConnClient) init() { // Keep restarting the worker if it fails (connection errors for example). for { if err := c.worker(); err != nil { - c.logger().Printf("error in PipelineClient(%q): %s", c.Addr, err) + c.logger().Printf("error in PipelineClient(%q): %v", c.Addr, err) if netErr, ok := err.(net.Error); ok && netErr.Timeout() { // Throttle client reconnections on timeout errors time.Sleep(time.Second) |