Merge branch 'develop'

This commit is contained in:
Andy Pan 2018-12-06 10:48:12 +08:00
commit e925b64fb7
1 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ func main() {
} }
``` ```
## Integrate with http server ## Integrates with http server
```go ```go
package main package main
@ -170,7 +170,7 @@ p, _ := ants.NewPool(10000)
p.Submit(func(){}) p.Submit(func(){})
``` ```
## Tuning pool capacity ## Tunes pool capacity
You can change `ants` pool capacity at any time with `ReSize(int)`: You can change `ants` pool capacity at any time with `ReSize(int)`:
``` go ``` go