diff options
author | Kjell Kvinge <kjell@kvinge.biz> | 2018-07-23 16:12:06 +0200 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2018-07-23 17:12:06 +0300 |
commit | ba358ecbf5d58dc6b2f166a84a4b6c6633cfa397 (patch) | |
tree | a7d9949483e00fc01b071c1560705e6055a96e8d /modules | |
parent | ae9dd239fbfc3b9f18ff2ccbdbe6fdf236db2b36 (diff) | |
download | gitea-ba358ecbf5d58dc6b2f166a84a4b6c6633cfa397.tar.gz gitea-ba358ecbf5d58dc6b2f166a84a4b6c6633cfa397.zip |
Make max commits in graph configurable (#4498)
Diffstat (limited to 'modules')
-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 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, |