From bdb771e4caa3fdc42751f0860b14e49460bda5af Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 5 Sep 2021 15:48:15 +1000 Subject: [PATCH] Fixes for query logging --- app/Http/Middleware/QueryLogging.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Middleware/QueryLogging.php b/app/Http/Middleware/QueryLogging.php index c9ad5c2f2c39..647dc030f5ff 100644 --- a/app/Http/Middleware/QueryLogging.php +++ b/app/Http/Middleware/QueryLogging.php @@ -52,9 +52,9 @@ class QueryLogging $timeEnd = microtime(true); $time = $timeEnd - $timeStart; - nlog("Query count = {$count}"); + // nlog("Query count = {$count}"); - if($count > 250){ + if($count > 175){ nlog("Quer count = {$count}"); nlog($queries); }