mirror of
https://github.com/panjf2000/ants.git
synced 2025-12-16 18:11:03 +00:00
Merge branch 'develop'
This commit is contained in:
commit
e925b64fb7
@ -99,7 +99,7 @@ func main() {
|
||||
}
|
||||
```
|
||||
|
||||
## Integrate with http server
|
||||
## Integrates with http server
|
||||
```go
|
||||
package main
|
||||
|
||||
@ -170,7 +170,7 @@ p, _ := ants.NewPool(10000)
|
||||
p.Submit(func(){})
|
||||
```
|
||||
|
||||
## Tuning pool capacity
|
||||
## Tunes pool capacity
|
||||
You can change `ants` pool capacity at any time with `ReSize(int)`:
|
||||
|
||||
``` go
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user