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
310ce78b65
2
ants.go
2
ants.go
@ -32,7 +32,7 @@ const (
|
|||||||
DefaultAntsPoolSize = math.MaxInt32
|
DefaultAntsPoolSize = math.MaxInt32
|
||||||
|
|
||||||
// DefaultCleanIntervalTime is the interval time to clean up goroutines.
|
// DefaultCleanIntervalTime is the interval time to clean up goroutines.
|
||||||
DefaultCleanIntervalTime = 10
|
DefaultCleanIntervalTime = 5
|
||||||
)
|
)
|
||||||
|
|
||||||
// Init a instance pool when importing ants.
|
// Init a instance pool when importing ants.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user