diff options
author | Unknwon <u@gogs.io> | 2015-10-24 03:36:47 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-10-24 03:36:47 -0400 |
commit | 0fbb8c8826771e92e890fb1c72b356d3e62c7b01 (patch) | |
tree | 2695707e4789a6611fa35393b06631848657469a /modules/setting/setting.go | |
parent | e0aab4a7f6c1f1b5cc7fa40e2c09623b635bc4a6 (diff) |
New push to head repo of head branch: regenerate patch and retest apply
Diffstat (limited to 'modules/setting/setting.go')
-rw-r--r-- | modules/setting/setting.go | 4 |
1 files changed, 4 insertions, 0 deletions
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) { |