From 63e6e3127139bed511c7af3fa354927ea0ffad4f Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 24 Oct 2015 15:35:26 -0400 Subject: add config and update locale --- modules/setting/setting.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/setting/setting.go') diff --git a/modules/setting/setting.go b/modules/setting/setting.go index 4e84b07e..2c1eae7b 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) { -- cgit v1.2.3