increase hard limit of rows to 10000

This commit is contained in:
Chris Cromer 2023-02-12 02:50:00 -03:00 committed by Martin Araneda
parent 8aed669d57
commit e26ed450fa

View File

@ -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)))
}