Ver Fonte

pool limiit

lijian há 4 anos atrás
pai
commit
eeb48fda2d
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      pkg/ruleEngine/nodes/rest_api_request_node.go

+ 1 - 1
pkg/ruleEngine/nodes/rest_api_request_node.go

@@ -31,7 +31,7 @@ type RestApiRequestNode struct {
 }
 
 func (r *RestApiRequestNode) Init(ctx ruleEngine.Context, config string) error {
-	r.pool = grpool.New(10)
+	r.pool = grpool.New(500)
 	if config == "" {
 		r.config = &RestApiRequestNodeConfig{
 			Url:       "http://localhost:8899/test",