aboutsummaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
authorGravatar Oleksandr Redko <Oleksandr_Redko@epam.com> 2023-11-12 17:42:39 +0200
committerGravatar GitHub <noreply@github.com> 2023-11-12 16:42:39 +0100
commit8ecfc989d9c4c6c30232a6465ec17d5c6d85fc5f (patch)
tree9a1fd803e343e8363409b4d83148ebbc6203e370 /client.go
parentLazy load stackless functions (#1656) (diff)
downloadfasthttp-8ecfc989d9c4c6c30232a6465ec17d5c6d85fc5f.tar.gz
fasthttp-8ecfc989d9c4c6c30232a6465ec17d5c6d85fc5f.tar.bz2
fasthttp-8ecfc989d9c4c6c30232a6465ec17d5c6d85fc5f.zip
Enable dupword, unconvert linters (#1658)v1.51.0
Diffstat (limited to 'client.go')
-rw-r--r--client.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/client.go b/client.go
index c5251e1..498de05 100644
--- a/client.go
+++ b/client.go
@@ -1474,6 +1474,7 @@ func (c *HostClient) acquireConn(reqTimeout time.Duration, connectionClose bool)
return nil, ErrNoFreeConns
}
+ //nolint:dupword
// reqTimeout c.MaxConnWaitTimeout wait duration
// d1 d2 min(d1, d2)
// 0(not set) d2 d2