aboutsummaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-02-10 06:44:24 +0800
committerzeripath <art27@cantab.net>2019-02-09 22:44:24 +0000
commit9e8cc3b18da7438b315676686d6552926cc2965a (patch)
tree0c7a279ac271e923134a511d733261b9baafa5de /custom
parent681345dc994fa52e6d137885ebdc1c95e1a4e2e1 (diff)
downloadgitea-9e8cc3b18da7438b315676686d6552926cc2965a.tar.gz
gitea-9e8cc3b18da7438b315676686d6552926cc2965a.zip
add default time out for git operations (#6015)
Diffstat (limited to 'custom')
-rw-r--r--custom/conf/app.ini.sample1
1 files changed, 1 insertions, 0 deletions
diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample
index 8a25c66107..5ef4fa05bb 100644
--- a/custom/conf/app.ini.sample
+++ b/custom/conf/app.ini.sample
@@ -610,6 +610,7 @@ GC_ARGS =
; Operation timeout in seconds
[git.timeout]
+DEFAULT = 360
MIGRATE = 600
MIRROR = 300
CLONE = 300