1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-02-01 01:52:18 +01:00

Reduce max-time.

This commit is contained in:
Simon Josefsson 2010-06-22 20:18:38 +00:00
parent 6f381febb4
commit 8b51b69600

View File

@ -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";
}