[agent-go] 优化代码,完成连通性测试
This commit is contained in:
@@ -20,7 +20,7 @@ const (
|
||||
InitOmType = "INIT"
|
||||
)
|
||||
|
||||
var pool, _ = ants.NewPool(100, ants.WithNonblocking(true), ants.WithLogger(logger2.Log))
|
||||
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