Merge branch 'develop'

This commit is contained in:
andy pan 2018-05-21 12:48:03 +08:00
parent 117d89e42b
commit 63df9f08b2
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ ants.Push(func() {})
``` ```
## Custom limited pool ## 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 ``` go
// set 10000 the size of goroutine pool // set 10000 the size of goroutine pool