From 8b51b69600cd853b366a028e57b0d69a2f3b3dba Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Tue, 22 Jun 2010 20:18:38 +0000 Subject: [PATCH] Reduce max-time. --- ykval-munin-ksmlatency.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ykval-munin-ksmlatency.php b/ykval-munin-ksmlatency.php index eacc514..c4df5a2 100644 --- a/ykval-munin-ksmlatency.php +++ b/ykval-munin-ksmlatency.php @@ -46,7 +46,7 @@ if ($argc==2 && strcmp($argv[1], "config") == 0) { echo "multigraph diskstats_latency\n"; foreach ($ksms as $ksm) { $shortksm = ksmurl2shortname ($ksm); - $time = `curl --silent --write-out '%{time_total}' --max-time 42 '$ksm' -o /dev/null`; + $time = `curl --silent --write-out '%{time_total}' --max-time 3 '$ksm' -o /dev/null`; echo "${shortksm}_avgwait.value $time\n"; }