From 8cc1b1afcbd6fd9b3b62c5c531d606f8b06e0513 Mon Sep 17 00:00:00 2001 From: duanhf2012 <6549168@qq.com> Date: Wed, 22 Feb 2023 10:49:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E5=B9=B6=E5=8F=91=E5=87=BD?= =?UTF-8?q?=E6=95=B0=E8=B0=83=E7=94=A8=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index be13704..9861732 100644 --- a/README.md +++ b/README.md @@ -761,7 +761,8 @@ func (slf *TestService7) GoTest(){ //以下通过cpu数量来定开启协程并发数量,建议:(1)cpu密集型计算使用1.0 (2)i/o密集型使用2.0或者更高 slf.OpenConcurrentByNumCPU(1.0) - //以下通过函数打开并发协程数,以下协程最小1个,最大10个,任务管道的cap数量 + //以下通过函数打开并发协程数,以下协程数最小5,最大10,任务管道的cap数量1000000 + //origin会根据任务的数量在最小与最大协程数间动态伸缩 //slf.OpenConcurrent(5, 10, 1000000) ```