File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -7989,14 +7989,14 @@ An optional Lua table can be specified as the last argument to this method to sp
7989
7989
* ` backlog `
7990
7990
if specified, this module will limit the total number of opened connections
7991
7991
for this pool. No more connections than `pool_size` can be opened
7992
- for this pool at any time. If the connection pool is full, subsequent
7993
- connect operations will be queued into a queue equal to this option's
7994
- value (the "backlog" queue).
7992
+ for this pool at any time. If `pool_size` number of connections are in use,
7993
+ subsequent connect operations will be queued into a queue equal to this
7994
+ option's value (the "backlog" queue).
7995
7995
If the number of queued connect operations is equal to `backlog`,
7996
7996
subsequent connect operations will fail and return `nil` plus the
7997
7997
error string `"too many waiting connect operations"`.
7998
- The queued connect operations will be resumed once the number of connections
7999
- in the pool is less than `pool_size`.
7998
+ The queued connect operations will be resumed once the number of active
7999
+ connections becomes less than `pool_size`.
8000
8000
The queued connect operation will abort once they have been queued for more
8001
8001
than `connect_timeout`, controlled by
8002
8002
[settimeouts](#tcpsocksettimeouts), and will return `nil` plus
You can’t perform that action at this time.
0 commit comments