mirror of https://github.com/panjf2000/ants.git
Merge branch 'develop'
This commit is contained in:
commit
6e53c23ace
|
@ -71,7 +71,7 @@ ants.Push(func() {})
|
|||
```
|
||||
|
||||
## Custom limited pool
|
||||
Ants also supports the custom limited pool. You can use the `NewPool` method to generate a pool with the given capacity, as following:
|
||||
Ants also supports custom limited pool. You can use the `NewPool` method to create a pool with the given capacity, as following:
|
||||
|
||||
``` go
|
||||
// set 10000 the size of goroutine pool
|
||||
|
|
Loading…
Reference in New Issue