improve the releases api paging (#5831)

* improve the releases api paging

* add max limit on API paging
This commit is contained in:
Lunny Xiao authored and Lauris BH committed 2019-01-24 20:59:27 +02:00
1 parent 9a137faaaf
commit 892bfd0b19
5 files changed
+29 -2

No files matched your search

+2
View File
@@ -557,9 +557,11 @@ var (
API = struct {
EnableSwagger bool
MaxResponseItems int
DefaultPagingNum int
}{
EnableSwagger: true,
MaxResponseItems: 50,
DefaultPagingNum: 30,
}
U2F = struct {