From 01656e2cffd4c4bca22a096f49a129249b79eac5 Mon Sep 17 00:00:00 2001 From: Jon Ziebell Date: Fri, 26 Feb 2021 22:04:12 -0500 Subject: [PATCH] Slight performance improvement for syncing. Most effective when it's at least a week behind. --- api/runtime.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/api/runtime.php b/api/runtime.php index 83282fc..c3c401b 100644 --- a/api/runtime.php +++ b/api/runtime.php @@ -452,6 +452,10 @@ class runtime extends cora\api { ], 'operator' => 'between' ] + ], + [ + 'runtime_thermostat_id', + 'timestamp' ] );