1
0
mirror of https://github.com/librenms/librenms-agent.git synced 2024-05-09 09:54:52 +00:00

Update gpsd

4s max time limit was causing some timeouts, especially given the two 1s sleeps. Especially with a lot of sentences coming back from the GPS chip it was probably not enough to always catch the right variables.
This commit is contained in:
Karl Shea
2020-05-15 01:15:20 -05:00
committed by GitHub
parent 660ded7ec0
commit e6892ea76d

View File

@ -4,8 +4,8 @@
$server = 'localhost';
$port = 2947;
set_time_limit(4);
ini_set('max_execution_time', 4);
set_time_limit(6);
ini_set('max_execution_time', 6);
$sock = @fsockopen($server, $port, $errno, $errstr, 2);
@ -50,4 +50,4 @@ if ($resp) {
function satellite_used($sat) {
return $sat->used;
}
}