mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-02-01 10:52:18 +01:00
Reduce max-time.
This commit is contained in:
parent
6f381febb4
commit
8b51b69600
@ -46,7 +46,7 @@ if ($argc==2 && strcmp($argv[1], "config") == 0) {
|
|||||||
echo "multigraph diskstats_latency\n";
|
echo "multigraph diskstats_latency\n";
|
||||||
foreach ($ksms as $ksm) {
|
foreach ($ksms as $ksm) {
|
||||||
$shortksm = ksmurl2shortname ($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";
|
echo "${shortksm}_avgwait.value $time\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user