summaryrefslogtreecommitdiff
path: root/methods/ftp.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2018-05-24 14:31:31 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2018-05-24 14:31:31 +0200
commit329a4a6159f1972ff5ec7bc2db26430f26dc61f3 (patch)
tree8eb877d0f9eda9273eb0fb962bce94a858507099 /methods/ftp.cc
parent71b65b3563d223f6cd69261918ec06d10da48e6c (diff)
Lower default timeout from 120s to 30s
120s is an insanely high default time out, lower it to 30s to make things a bit nicer.
Diffstat (limited to 'methods/ftp.cc')
-rw-r--r--methods/ftp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/ftp.cc b/methods/ftp.cc
index ebe555a04..8213f1b50 100644
--- a/methods/ftp.cc
+++ b/methods/ftp.cc
@@ -62,7 +62,7 @@ struct AFMap AFMap[] = {{AF_INET,1},{0, 0}};
struct AFMap AFMap[] = {{AF_INET,1},{AF_INET6,2},{0, 0}};
#endif
-unsigned long TimeOut = 120;
+unsigned long TimeOut = 30;
URI Proxy;
string FtpMethod::FailFile;
int FtpMethod::FailFd = -1;