From 6ba16371e6ecfdbd11dcb1bec00795c6a0169863 Mon Sep 17 00:00:00 2001 From: Andy Pan Date: Fri, 31 Aug 2018 23:34:06 +0800 Subject: [PATCH] update periodic time of cleaning workers --- ants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ants.go b/ants.go index d116067..422b0b4 100644 --- a/ants.go +++ b/ants.go @@ -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.