ソースを参照

wip:删除调试

wangkaiyue 2 年 前
コミット
eb91c9783d
1 ファイル変更0 行追加1 行削除
  1. 0 1
      internal/service/manager.go

+ 0 - 1
internal/service/manager.go

@@ -94,7 +94,6 @@ func (epm *esProxyManager) GetProxy(ctx context.Context, queryLevel int) (*httpu
 // Release 归还链接池
 func (epm *esProxyManager) Release(ctx context.Context, queryLevel int) {
 	go func() {
-		time.Sleep(time.Second * 10)
 		epm.getPool(queryLevel) <- struct{}{}
 	}()
 }