File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -209,6 +209,7 @@ Loop:
209209 case w , ok := <- pool .Worder .Output :
210210 if ! ok {
211211 done = true
212+ time .Sleep (100 * time .Millisecond )
212213 continue
213214 }
214215 pool .Statistor .End ++
Original file line number Diff line number Diff line change 7171 case u , ok := <- pool .Worder .Output :
7272 if ! ok {
7373 done = true
74+ time .Sleep (100 * time .Millisecond )
7475 continue
7576 }
7677
Original file line number Diff line number Diff line change 55 "github.com/chainreactors/spray/cmd"
66 "github.com/gookit/config/v2"
77 "github.com/gookit/config/v2/yaml"
8- "net/http"
9- _ "net/http/pprof"
8+ // "net/http"
9+ // _ "net/http/pprof"
1010)
1111
1212func init () {
@@ -18,10 +18,10 @@ func init() {
1818}
1919
2020func main () {
21- // 启动 pprof HTTP 服务器
22- go func () {
23- http .ListenAndServe ("localhost:6060" , nil )
24- }()
21+ //// 启动 pprof HTTP 服务器
22+ // go func() {
23+ // http.ListenAndServe("localhost:6060", nil)
24+ // }()
2525
2626 cmd .Spray ()
2727}
You can’t perform that action at this time.
0 commit comments