diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/setting/setting.go | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go index 0859b81c40..42f1de425e 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -561,13 +561,15 @@ var ( // API settings API = struct { - EnableSwagger bool - MaxResponseItems int - DefaultPagingNum int + EnableSwagger bool + MaxResponseItems int + DefaultPagingNum int + DefaultGitTreesPerPage int }{ - EnableSwagger: true, - MaxResponseItems: 50, - DefaultPagingNum: 30, + EnableSwagger: true, + MaxResponseItems: 50, + DefaultPagingNum: 30, + DefaultGitTreesPerPage: 1000, } U2F = struct { |