[ Status ] 完成Agent Metric部分
This commit is contained in:
@@ -23,7 +23,14 @@ const (
|
||||
BaseFuncOssUrlPrefix = "https://b2.107421.xyz/"
|
||||
)
|
||||
|
||||
var pool, _ = ants.NewPool(100, ants.WithNonblocking(false), ants.WithLogger(logger2.Log), ants.WithMaxBlockingTasks(30), ants.WithDisablePurge(true))
|
||||
// 创建协程池子
|
||||
var pool, _ = ants.NewPool(
|
||||
100,
|
||||
ants.WithNonblocking(false),
|
||||
ants.WithLogger(logger2.Log),
|
||||
ants.WithMaxBlockingTasks(30),
|
||||
ants.WithDisablePurge(true),
|
||||
)
|
||||
|
||||
var G = NewGlobal(
|
||||
pool,
|
||||
|
||||
Reference in New Issue
Block a user