diff options
author | techknowlogick <techknowlogick@gitea.io> | 2020-08-11 10:48:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-11 10:48:13 -0400 |
commit | 22c952ac7a6cfb5e4fd8ab536cbfef1543b1be91 (patch) | |
tree | cc7a278ce1bd3a2dbfea28567b12b1e46b1debc6 /modules/setting/setting.go | |
parent | 73b155d5f21813abc788a54aee0ee72459e7c7c9 (diff) | |
download | gitea-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.go | 2 |
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, |