Merge pull request #2674 from Xaseron/patch-1
fixed typo in threadpool.nim
This commit is contained in:
commit
45b6082c12
1 changed files with 1 additions and 1 deletions
|
|
@ -300,7 +300,7 @@ proc setMinPoolSize*(size: range[1..MaxThreadPoolSize]) =
|
||||||
minPoolSize = size
|
minPoolSize = size
|
||||||
|
|
||||||
proc setMaxPoolSize*(size: range[1..MaxThreadPoolSize]) =
|
proc setMaxPoolSize*(size: range[1..MaxThreadPoolSize]) =
|
||||||
## sets the minimal thread pool size. The default value of this
|
## sets the maximal thread pool size. The default value of this
|
||||||
## is ``MaxThreadPoolSize``.
|
## is ``MaxThreadPoolSize``.
|
||||||
maxPoolSize = size
|
maxPoolSize = size
|
||||||
if currentPoolSize > maxPoolSize:
|
if currentPoolSize > maxPoolSize:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue