diff options
author | Unknwon <u@gogs.io> | 2015-10-24 15:35:26 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-10-24 15:35:26 -0400 |
commit | 63e6e3127139bed511c7af3fa354927ea0ffad4f (patch) | |
tree | 19eb3b7b12e7a113128328ab3d7dd4885ac2fb76 /modules/setting | |
parent | 2be5837cb04d016ef8e6d89eee441dfaad1ce34d (diff) | |
download | gitea-63e6e3127139bed511c7af3fa354927ea0ffad4f.tar.gz gitea-63e6e3127139bed511c7af3fa354927ea0ffad4f.zip |
add config and update locale
Diffstat (limited to 'modules/setting')
-rw-r--r-- | modules/setting/setting.go | 2 |
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) { |