summaryrefslogtreecommitdiff
path: root/methods/rsh.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-06-25 12:06:21 +0200
commitbf3162b5c61766bf535c2c735b00b1a0c3208605 (patch)
treeccaf055c9f16f07a2c82d30e7ed311d11a707332 /methods/rsh.cc
parent6101d018f07ebf103be7290b9e687625353644c0 (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. (cherry picked from commit 329a4a6159f1972ff5ec7bc2db26430f26dc61f3)
Diffstat (limited to 'methods/rsh.cc')
-rw-r--r--methods/rsh.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/rsh.cc b/methods/rsh.cc
index 69a51a13d..31cbb3bcd 100644
--- a/methods/rsh.cc
+++ b/methods/rsh.cc
@@ -33,7 +33,7 @@
#include <apti18n.h>
/*}}}*/
-unsigned long TimeOut = 120;
+unsigned long TimeOut = 30;
Configuration::Item const *RshOptions = 0;
time_t RSHMethod::FailTime = 0;
std::string RSHMethod::FailFile;