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.
1 parent 1d86ea6 commit 8c4e388Copy full SHA for 8c4e388
consumer/push_consumer.go
@@ -614,11 +614,11 @@ func (pc *pushConsumer) validate() error {
614
}
615
616
617
- if pc.option.ConsumeGoroutineNums < 1 || pc.option.ConsumeGoroutineNums > 1000 {
+ if pc.option.ConsumeGoroutineNums < 1 || pc.option.ConsumeGoroutineNums > 100000 {
618
if pc.option.ConsumeGoroutineNums == 0 {
619
pc.option.ConsumeGoroutineNums = 20
620
} else {
621
- return errors.New("option.ConsumeGoroutineNums out of range [1, 1000]")
+ return errors.New("option.ConsumeGoroutineNums out of range [1, 100000]")
622
623
624
return nil
0 commit comments