Skip to content

Commit 12d01b8

Browse files
committed
Raise threads to 20 by default
1 parent 44f6382 commit 12d01b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ type fileitem struct {
3838
}
3939

4040
var opts struct {
41-
ThreadCount int ` long:"threads" description:"Set thread concurrency for replacing in multiple files at same time" default:"10"`
41+
ThreadCount int ` long:"threads" description:"Set thread concurrency for replacing in multiple files at same time" default:"20"`
4242
Mode string `short:"m" long:"mode" description:"replacement mode - replace: replace match with term; line: replace line with term; lineinfile: replace line with term or if not found append to term to file; template: parse content as golang template, search value have to start uppercase" default:"replace" choice:"replace" choice:"line" choice:"lineinfile" choice:"template"`
4343
ModeIsReplaceMatch bool
4444
ModeIsReplaceLine bool

0 commit comments

Comments
 (0)