From e6892ea76dcbb27a59f9011e3c4881ea839c76ee Mon Sep 17 00:00:00 2001 From: Karl Shea Date: Fri, 15 May 2020 01:15:20 -0500 Subject: [PATCH] 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. --- agent-local/gpsd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/agent-local/gpsd b/agent-local/gpsd index cfb0b0b..a774c79 100755 --- a/agent-local/gpsd +++ b/agent-local/gpsd @@ -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; -} \ No newline at end of file +}