Allow setting git operations timeouts
- Migrate: #2704 #2653 - Clone: #2701 - Mirror, Pull
This commit is contained in:
parent
ea80274229
commit
9e89584cb4
8 changed files with 29 additions and 10 deletions
File diff suppressed because one or more lines are too long
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue