ソースを参照

Merge branch 'dev/v4.8.40_dx' of qmx/jy into feature/v4.8.40

duxin 2 年 前
コミット
0c568b761c
1 ファイル変更3 行追加3 行削除
  1. 3 3
      src/jfw/front/tags.go

+ 3 - 3
src/jfw/front/tags.go

@@ -48,10 +48,10 @@ var reqLimitInit *reqLimit
 
 func init() {
 	xweb.AddAction(&Tags{})
-	//创建执行池 等待池
-	doPool := make(chan struct{}, qu.IntAll(config.Sysconfig["awaitNum"]))
-	do := qu.IntAll(config.Sysconfig["awaitNum"])
+	do := qu.IntAll(config.Sysconfig["executionNum"])
 	wait := qu.IntAll(config.Sysconfig["awaitNum"])
+	//创建执行池 等待池
+	doPool := make(chan struct{}, do)
 	for i := 0; i < do; i++ {
 		doPool <- struct{}{}
 	}