summaryrefslogtreecommitdiffstats
path: root/modules/setting/repository.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/setting/repository.go')
-rw-r--r--modules/setting/repository.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/setting/repository.go b/modules/setting/repository.go
index c2a6357d94..f981809427 100644
--- a/modules/setting/repository.go
+++ b/modules/setting/repository.go
@@ -87,7 +87,8 @@ var (
} `ini:"repository.issue"`
Release struct {
- AllowedTypes string
+ AllowedTypes string
+ DefaultPagingNum int
} `ini:"repository.release"`
Signing struct {
@@ -223,9 +224,11 @@ var (
},
Release: struct {
- AllowedTypes string
+ AllowedTypes string
+ DefaultPagingNum int
}{
- AllowedTypes: "",
+ AllowedTypes: "",
+ DefaultPagingNum: 10,
},
// Signing settings