Make max commits in graph configurable (#4498)

This commit is contained in:
Kjell Kvinge 2018-07-23 16:12:06 +02:00 committed by Lauris BH
parent ae9dd239fb
commit ba358ecbf5
4 changed files with 7 additions and 1 deletions

View file

@ -276,6 +276,7 @@ var (
IssuePagingNum int
RepoSearchPagingNum int
FeedMaxCommitNum int
GraphMaxCommitNum int
ReactionMaxUserNum int
ThemeColorMetaTag string
MaxDisplayFileSize int64
@ -301,6 +302,7 @@ var (
IssuePagingNum: 10,
RepoSearchPagingNum: 10,
FeedMaxCommitNum: 5,
GraphMaxCommitNum: 100,
ReactionMaxUserNum: 10,
ThemeColorMetaTag: `#6cc644`,
MaxDisplayFileSize: 8388608,