aboutsummaryrefslogtreecommitdiffstats
path: root/modules/setting/repository.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/setting/repository.go')
-rw-r--r--modules/setting/repository.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/setting/repository.go b/modules/setting/repository.go
index 5520c992b9..406068b59d 100644
--- a/modules/setting/repository.go
+++ b/modules/setting/repository.go
@@ -90,6 +90,7 @@ var (
// Issue Setting
Issue struct {
LockReasons []string
+ MaxPinned int
} `ini:"repository.issue"`
Release struct {
@@ -227,8 +228,10 @@ var (
// Issue settings
Issue: struct {
LockReasons []string
+ MaxPinned int
}{
LockReasons: strings.Split("Too heated,Off-topic,Spam,Resolved", ","),
+ MaxPinned: 3,
},
Release: struct {