Allow setting git operations timeouts

- Migrate: #2704 #2653
- Clone: #2701
- Mirror, Pull
This commit is contained in:
Unknwon 2016-02-29 19:29:49 -05:00
parent ea80274229
commit 9e89584cb4
8 changed files with 29 additions and 10 deletions

File diff suppressed because one or more lines are too long

View file

@ -163,6 +163,12 @@ var (
Git struct {
MaxGitDiffLines int
GcArgs []string `delim:" "`
Timeout struct {
Migrate int
Mirror int
Clone int
Pull int
} `ini:"git.timeout"`
}
// Cron tasks