summaryrefslogtreecommitdiffstats
path: root/modules/setting/setting.go
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2020-08-11 10:48:13 -0400
committerGitHub <noreply@github.com>2020-08-11 10:48:13 -0400
commit22c952ac7a6cfb5e4fd8ab536cbfef1543b1be91 (patch)
treecc7a278ce1bd3a2dbfea28567b12b1e46b1debc6 /modules/setting/setting.go
parent73b155d5f21813abc788a54aee0ee72459e7c7c9 (diff)
downloadgitea-22c952ac7a6cfb5e4fd8ab536cbfef1543b1be91.tar.gz
gitea-22c952ac7a6cfb5e4fd8ab536cbfef1543b1be91.zip
Make dashboard newsfeed list length a configurable item (#12469)
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Diffstat (limited to 'modules/setting/setting.go')
-rw-r--r--modules/setting/setting.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index f4b10feee8..d4ce13079a 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -166,6 +166,7 @@ var (
RepoSearchPagingNum int
MembersPagingNum int
FeedMaxCommitNum int
+ FeedPagingNum int
GraphMaxCommitNum int
CodeCommentLines int
ReactionMaxUserNum int
@@ -207,6 +208,7 @@ var (
RepoSearchPagingNum: 10,
MembersPagingNum: 20,
FeedMaxCommitNum: 5,
+ FeedPagingNum: 20,
GraphMaxCommitNum: 100,
CodeCommentLines: 4,
ReactionMaxUserNum: 10,