Skip to content

Commit e630e3e

Browse files
authored
Update concurrency limit (#189)
1 parent 859cc3d commit e630e3e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,8 @@ func determineConcurrency(config Config) int {
553553
return 1
554554
}
555555

556-
if value > 10 {
557-
return 10
556+
if value > 20 {
557+
return 20
558558
}
559559

560560
return value

main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ func TestUploadConcurrency(t *testing.T) {
127127
config: Config{
128128
UploadConcurrency: "100",
129129
},
130-
want: 10,
130+
want: 20,
131131
},
132132
}
133133
for _, tt := range tests {

0 commit comments

Comments
 (0)