Skip to content

Commit

Permalink
Increase default timeout to 20secs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Salinas committed Sep 22, 2020
1 parent 4cdfbc4 commit 2a81984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torrengo.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ func main() {
}
usrSourcesPtr := flag.String("s", "all", "A comma separated list of sources "+
"you want to search."+lineBreak+"Choices: arc (Archive.org) | tpb (ThePirateBay) | otts (1337x) | ygg (YggTorrent). ")
timeoutInMillisecPtr := flag.Int("t", 5000, "Timeout of HTTP requests in milliseconds. Set it to 0 to completely remove timeout.")
timeoutInMillisecPtr := flag.Int("t", 20000, "Timeout of HTTP requests in milliseconds. Set it to 0 to completely remove timeout.")
isVerbosePtr := flag.Bool("v", false, "Verbose mode. Use it to see more logs.")
flag.Parse()

Expand Down

0 comments on commit 2a81984

Please sign in to comment.