diff --git a/ants.go b/ants.go index d8755eb..03dd478 100644 --- a/ants.go +++ b/ants.go @@ -37,7 +37,7 @@ const ( ) // Init a instance pool when importing ants -var defaultPool, _ = NewPool(DefaultPoolSize) +var defaultPool, _ = NewPool(DefaultPoolSize, 10) // Submit submit a task to pool func Submit(task f) error {