Content-Length: 287419 | pFad | https://github.com/mubeng/mubeng/commit/4a35de28b2eb50616fba80f2f06d339409715617

E3 feat(runner): adjust default `goroutine` to `50` · mubeng/mubeng@4a35de2 · GitHub
Skip to content

Commit

Permalink
feat(runner): adjust default goroutine to 50
Browse files Browse the repository at this point in the history
Signed-off-by: Dwi Siswanto <git@dw1.io>
  • Loading branch information
dwisiswant0 committed Sep 3, 2024
1 parent 5221e02 commit 4a35de2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Here are all the options it supports.
| -A, --auth `<USER>:<PASS>` | Set authorization for proxy server. |
| -d, --daemon | Daemonize proxy server. |
| -c, --check | To perform proxy live check. |
| -g, --goroutine `<N>` | Max. goroutine to use (default: 10). |
| -g, --goroutine `<N>` | Max. goroutine to use (default: 50). |
| --only-cc `<AA>,<BB>` | Only show specific country code (comma separated). |
| -t, --timeout | Max. time allowed for proxy server/check (default: 30s). |
| -r, --rotate `<AFTER>` | Rotate proxy IP for every `AFTER` request (default: 1). |
Expand Down
2 changes: 1 addition & 1 deletion common/vars.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Options:
PROXY CHECKER
-c, --check Perform proxy check
-g, --goroutine <N> Max. goroutine to use (default: 10)
-g, --goroutine <N> Max. goroutine to use (default: 50)
--only-cc <AA>,<BB> Only for specific country code (comma separated)
IP ROTATOR
Expand Down
6 changes: 3 additions & 3 deletions internal/runner/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"flag"
"time"

"github.com/projectdiscovery/gologger"
"github.com/kitabisa/mubeng/common"
"github.com/kitabisa/mubeng/internal/updater"
"github.com/projectdiscovery/gologger"
)

// Options defines the values needed to execute the Runner.
Expand Down Expand Up @@ -57,8 +57,8 @@ func Options() *common.Options {
flag.BoolVar(&opt.Watch, "w", false, "")
flag.BoolVar(&opt.Watch, "watch", false, "")

flag.IntVar(&opt.Goroutine, "g", 10, "")
flag.IntVar(&opt.Goroutine, "goroutine", 10, "")
flag.IntVar(&opt.Goroutine, "g", 50, "")
flag.IntVar(&opt.Goroutine, "goroutine", 50, "")

flag.Usage = func() {
showBanner()
Expand Down

0 comments on commit 4a35de2

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/mubeng/mubeng/commit/4a35de28b2eb50616fba80f2f06d339409715617

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy