[ Agent ] [ CMII ] - 完成工具类的代码
This commit is contained in:
@@ -25,11 +25,12 @@ const (
|
||||
|
||||
// 创建协程池子
|
||||
var pool, _ = ants.NewPool(
|
||||
100,
|
||||
20,
|
||||
ants.WithNonblocking(false),
|
||||
ants.WithLogger(logger2.Log),
|
||||
ants.WithMaxBlockingTasks(30),
|
||||
ants.WithMaxBlockingTasks(10),
|
||||
ants.WithDisablePurge(true),
|
||||
ants.WithPreAlloc(true),
|
||||
)
|
||||
|
||||
var G = NewGlobal(
|
||||
|
||||
Reference in New Issue
Block a user