notification queue limit has no maxLimit (#9380)

New value defaults to 100K events by default,
but users can tune this value upto any value
they seem necessary.

* increase the limit to maxint64 while validating
This commit is contained in:
Praveen raj Mani
2020-04-18 13:50:56 +05:30
committed by GitHub
parent 75107d7698
commit c79358c67e
13 changed files with 34 additions and 64 deletions

View File

@@ -74,9 +74,6 @@ func (a ElasticsearchArgs) Validate() error {
if a.Index == "" {
return errors.New("empty index value")
}
if a.QueueLimit > 10000 {
return errors.New("queueLimit should not exceed 10000")
}
return nil
}