From 0fbb8c8826771e92e890fb1c72b356d3e62c7b01 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 24 Oct 2015 03:36:47 -0400 Subject: New push to head repo of head branch: regenerate patch and retest apply --- modules/setting/setting.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/setting/setting.go') diff --git a/modules/setting/setting.go b/modules/setting/setting.go index 6b5a3659..4e84b07e 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -86,6 +86,9 @@ var ( } // Repository settings. + Repository struct { + PullRequestQueueLength int + } RepoRootPath string ScriptType string AnsiCharset string @@ -357,6 +360,7 @@ func NewContext() { homeDir = strings.Replace(homeDir, "\\", "/", -1) sec = Cfg.Section("repository") + Repository.PullRequestQueueLength = 10000 RepoRootPath = sec.Key("ROOT").MustString(path.Join(homeDir, "gogs-repositories")) forcePathSeparator(RepoRootPath) if !filepath.IsAbs(RepoRootPath) { -- cgit v1.2.3