Skip to content

Commit

Permalink
Update default count value to 200
Browse files Browse the repository at this point in the history
  • Loading branch information
pa3ng committed Jan 11, 2024
1 parent a1b1e62 commit 986a2b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func readSkipCount(r *http.Request, skipMax, countMax int) (skip int, count int,
count = int(math.Min(float64(count), float64(countMax)))
count = int(math.Max(0, float64(count)))
if count == 0 {
count = 20
count = 200
}

return skip, count, exists, nil
Expand Down

0 comments on commit 986a2b2

Please sign in to comment.