aboutsummaryrefslogtreecommitdiffstats
path: root/modules/setting
diff options
context:
space:
mode:
authorKjell Kvinge <kjell@kvinge.biz>2018-07-23 16:12:06 +0200
committerLauris BH <lauris@nix.lv>2018-07-23 17:12:06 +0300
commitba358ecbf5d58dc6b2f166a84a4b6c6633cfa397 (patch)
treea7d9949483e00fc01b071c1560705e6055a96e8d /modules/setting
parentae9dd239fbfc3b9f18ff2ccbdbe6fdf236db2b36 (diff)
downloadgitea-ba358ecbf5d58dc6b2f166a84a4b6c6633cfa397.tar.gz
gitea-ba358ecbf5d58dc6b2f166a84a4b6c6633cfa397.zip
Make max commits in graph configurable (#4498)
Diffstat (limited to 'modules/setting')
-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 b44ba4d11b..396dec2546 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -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,