update periodic time of cleaning workers

This commit is contained in:
Andy Pan 2018-08-31 23:34:06 +08:00
parent b1e6e05756
commit 6ba16371e6
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ const (
DefaultAntsPoolSize = math.MaxInt32
// DefaultCleanIntervalTime is the interval time to clean up goroutines.
DefaultCleanIntervalTime = 10
DefaultCleanIntervalTime = 5
)
// Init a instance pool when importing ants.