diff options
author | Unknwon <u@gogs.io> | 2016-02-29 19:29:49 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-02-29 19:29:49 -0500 |
commit | 9e89584cb4aa6321311dd291c364c5d956fcead1 (patch) | |
tree | 5712509c42d1f3f55970daa9a210b19b4c8cfc95 /conf/app.ini | |
parent | ea80274229bca259a64fed7eca181e4a82ff0676 (diff) | |
download | gitea-9e89584cb4aa6321311dd291c364c5d956fcead1.tar.gz gitea-9e89584cb4aa6321311dd291c364c5d956fcead1.zip |
Allow setting git operations timeouts
- Migrate: #2704 #2653
- Clone: #2701
- Mirror, Pull
Diffstat (limited to 'conf/app.ini')
-rw-r--r-- | conf/app.ini | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini index 1b45754580..73f9a0ba28 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -331,6 +331,13 @@ MAX_GIT_DIFF_LINES = 10000 ; see more on http://git-scm.com/docs/git-gc/1.7.5 GC_ARGS = +; Operation timeout in seconds +[git.timeout] +MIGRATE = 600 +MIRROR = 300 +CLONE = 300 +PULL = 300 + [i18n] LANGS = en-US,zh-CN,zh-HK,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,ja-JP,es-ES,pt-BR,pl-PL,bg-BG,it-IT NAMES = English,简体中文,繁體中文,Deutsch,Français,Nederlands,Latviešu,Русский,日本語,Español,Português do Brasil,Polski,български,Italiano |