mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
32_SYSSTAT.pm: set snmp session timeout to two seconds (instead of the default 5 seconds)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@9261 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
afe2bc81d9
commit
7cc412c087
@ -139,6 +139,7 @@ SYSSTAT_InitSNMP($)
|
||||
} elsif ( !defined($session) ) {
|
||||
Log3 $name, 2, "$name: can't connect to host $host";
|
||||
} else {
|
||||
$session->timeout(3);
|
||||
$hash->{session} = $session;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user