diff options
author | Erik Dubbelboer <erik@dubbelboer.com> | 2023-08-26 12:49:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-26 12:49:17 +0200 |
commit | 0e99e64ee836adc5a3c4b35a0d8148900c2e7898 (patch) | |
tree | 74ed52ccb6d24a75f6e25d0f52b62e3050bef387 /lbclient.go | |
parent | fix round2_32, split round2 tests because they depend on sizeof int at compil... (diff) | |
download | fasthttp-0e99e64ee836adc5a3c4b35a0d8148900c2e7898.tar.gz fasthttp-0e99e64ee836adc5a3c4b35a0d8148900c2e7898.tar.bz2 fasthttp-0e99e64ee836adc5a3c4b35a0d8148900c2e7898.zip |
Diffstat (limited to 'lbclient.go')
-rw-r--r-- | lbclient.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lbclient.go b/lbclient.go index 6be2dc9..7fd8a93 100644 --- a/lbclient.go +++ b/lbclient.go @@ -138,7 +138,7 @@ func (cc *LBClient) get() *lbClient { minT := atomic.LoadUint64(&minC.total) for _, c := range cs[1:] { n := c.PendingRequests() - t := atomic.LoadUint64(&c.total) + t := atomic.LoadUint64(&c.total) /* #nosec G601 */ if n < minN || (n == minN && t < minT) { minC = c minN = n |