increase hard limit of rows to 10000
This commit is contained in:
parent
1caceda470
commit
10f9899753
@ -15,7 +15,7 @@ func GetLimitOffset(queryParams url.Values) (int, int, error) {
|
||||
if err != nil {
|
||||
return -1, -1, err
|
||||
}
|
||||
limit = int(math.Min(float64(500), float64(limit)))
|
||||
limit = int(math.Min(float64(10000), float64(limit)))
|
||||
limit = int(math.Max(float64(1), float64(limit)))
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user