increase hard limit of rows to 10000

This commit is contained in:
Chris Cromer 2023-02-12 02:50:00 -03:00
parent 1caceda470
commit 10f9899753
Signed by: cromer
GPG Key ID: FA91071797BEEEC2

View File

@ -15,7 +15,7 @@ func GetLimitOffset(queryParams url.Values) (int, int, error) {
if err != nil { if err != nil {
return -1, -1, err 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))) limit = int(math.Max(float64(1), float64(limit)))
} }