From 543df9c141e1b6ba145c73c094defcb0b69d2079 Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Thu, 12 Mar 2015 08:55:40 +0100 Subject: [PATCH] increased the timeout from 30 to 120 seconds --- lib/emailreports.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/emailreports.pm b/lib/emailreports.pm index 79e1297..766ad68 100644 --- a/lib/emailreports.pm +++ b/lib/emailreports.pm @@ -1,7 +1,7 @@ # # Monitorix - A lightweight system monitoring tool. # -# Copyright (C) 2005-2014 by Jordi Sanfeliu +# Copyright (C) 2005-2015 by Jordi Sanfeliu # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -77,7 +77,7 @@ EOF
-Copyright © 2005-2014 Jordi Sanfeliu +Copyright © 2005-2015 Jordi Sanfeliu @@ -94,7 +94,7 @@ EOF # generate the graphs and get the html source my $url = $prefix . $base_cgi . "/monitorix.cgi?mode=localhost&graph=_$g&when=$when&color=white"; - my $ua = LWP::UserAgent->new(timeout => 30, $ssl); + my $ua = LWP::UserAgent->new(timeout => 120, $ssl); my $response = $ua->request(HTTP::Request->new('GET', $url));