From ddb43c773cf6a8dd0c0bbc1ddef599ee060c0f87 Mon Sep 17 00:00:00 2001 From: Jon Ziebell Date: Wed, 17 Jun 2020 09:34:48 -0400 Subject: [PATCH] Fixed #281 - Comparisons fail after 5 second timeout This is a bit of a hack but this code is going to go away soon so it's OK. --- api/thermostat_group.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/thermostat_group.php b/api/thermostat_group.php index fa2cfd2..c654121 100644 --- a/api/thermostat_group.php +++ b/api/thermostat_group.php @@ -429,6 +429,9 @@ class thermostat_group extends cora\crud { * @return array */ public function get_scores($type, $attributes) { + // See #281 + set_time_limit(30); + // All or none are required. if( (