aboutsummaryrefslogtreecommitdiffstats
path: root/modules/setting
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-10-24 15:35:26 -0400
committerUnknwon <u@gogs.io>2015-10-24 15:35:26 -0400
commit63e6e3127139bed511c7af3fa354927ea0ffad4f (patch)
tree19eb3b7b12e7a113128328ab3d7dd4885ac2fb76 /modules/setting
parent2be5837cb04d016ef8e6d89eee441dfaad1ce34d (diff)
downloadgitea-63e6e3127139bed511c7af3fa354927ea0ffad4f.tar.gz
gitea-63e6e3127139bed511c7af3fa354927ea0ffad4f.zip
add config and update locale
Diffstat (limited to 'modules/setting')
-rw-r--r--modules/setting/setting.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index 4e84b07e3e..2c1eae7bcc 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -360,7 +360,7 @@ func NewContext() {
homeDir = strings.Replace(homeDir, "\\", "/", -1)
sec = Cfg.Section("repository")
- Repository.PullRequestQueueLength = 10000
+ Repository.PullRequestQueueLength = sec.Key("PULL_REQUEST_QUEUE_LENGTH").MustInt(10000)
RepoRootPath = sec.Key("ROOT").MustString(path.Join(homeDir, "gogs-repositories"))
forcePathSeparator(RepoRootPath)
if !filepath.IsAbs(RepoRootPath) {