From 8e369baa4c1126c9bcc472263ea8b989d6ba12ca Mon Sep 17 00:00:00 2001 From: Andy Pan Date: Fri, 6 Jul 2018 20:53:58 +0800 Subject: [PATCH] update readme --- README_ZH.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_ZH.md b/README_ZH.md index b238673..fb140b2 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -113,7 +113,7 @@ ants.Submit(func() {}) ``` go // set 10000 the size of goroutine pool and 1 second for expired duration -p, _ := ants.NewPool(10000) +p, _ := ants.NewPool(10000, 1) // submit a task p.Submit(func() {}) ```