We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 31a5d5b + 5d95329 commit 9e20c6dCopy full SHA for 9e20c6d
src/full_check/main.go
@@ -76,11 +76,11 @@ func main() {
76
panic(common.Logger.Errorf("invalid option batchcount %s, expect int 1<=batchcount<=10000", conf.Opts.BatchCount))
77
}
78
parallel := conf.Opts.Parallel
79
- if err != nil || parallel < 1 || parallel > 100 {
+ if parallel < 1 || parallel > 100 {
80
panic(common.Logger.Errorf("invalid option parallel %d, expect 1<=parallel<=100", conf.Opts.Parallel))
81
82
qps := conf.Opts.Qps
83
- if err != nil || qps < 1 || qps > 5000000 {
+ if qps < 1 || qps > 5000000 {
84
panic(common.Logger.Errorf("invalid option qps %d, expect 1<=qps<=5000000", conf.Opts.Qps))
85
86
if conf.Opts.SourceAuthType != "auth" && conf.Opts.SourceAuthType != "adminauth" {
0 commit comments