diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2018-05-24 14:31:31 +0200 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2018-05-24 14:31:31 +0200 |
commit | 329a4a6159f1972ff5ec7bc2db26430f26dc61f3 (patch) | |
tree | 8eb877d0f9eda9273eb0fb962bce94a858507099 /methods/basehttp.cc | |
parent | 71b65b3563d223f6cd69261918ec06d10da48e6c (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/basehttp.cc')
-rw-r--r-- | methods/basehttp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/basehttp.cc b/methods/basehttp.cc index 3a73d04c6..3d95ba7df 100644 --- a/methods/basehttp.cc +++ b/methods/basehttp.cc @@ -250,7 +250,7 @@ bool RequestState::HeaderLine(string const &Line) /*{{{*/ /*}}}*/ // ServerState::ServerState - Constructor /*{{{*/ ServerState::ServerState(URI Srv, BaseHttpMethod *Owner) : - ServerName(Srv), TimeOut(120), Owner(Owner) + ServerName(Srv), TimeOut(30), Owner(Owner) { Reset(); } |