aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Erik Dubbelboer <erik@dubbelboer.com> 2023-11-10 11:33:21 +0100
committerGravatar Erik Dubbelboer <erik@dubbelboer.com> 2023-11-10 11:33:33 +0100
commit326764944227f6ea0d293b1664522315a39463c0 (patch)
treec9ed2b306f597483dfd3278c823466339a442f15
parentchore: add golangci-lint config file for flexibility (#1649) (diff)
downloadfasthttp-326764944227f6ea0d293b1664522315a39463c0.tar.gz
fasthttp-326764944227f6ea0d293b1664522315a39463c0.tar.bz2
fasthttp-326764944227f6ea0d293b1664522315a39463c0.zip
Fix spelling mistake
Fixes #1654
-rw-r--r--client.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.go b/client.go
index 02456d3..c5251e1 100644
--- a/client.go
+++ b/client.go
@@ -2542,8 +2542,8 @@ func (c *PipelineClient) newConnClient() *pipelineConnClient {
}
// ErrPipelineOverflow may be returned from PipelineClient.Do*
-// if the requests' queue is overflown.
-var ErrPipelineOverflow = errors.New("pipelined requests' queue has been overflown. Increase MaxConns and/or MaxPendingRequests")
+// if the requests' queue is overflowed.
+var ErrPipelineOverflow = errors.New("pipelined requests' queue has been overflowed. Increase MaxConns and/or MaxPendingRequests")
// DefaultMaxPendingRequests is the default value
// for PipelineClient.MaxPendingRequests.