From 015da23d8e81ec5325a84b5e787fe3d8a0aa0a16 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Fri, 12 Jul 2013 19:42:26 +0200 Subject: [PATCH] disable SQL intensive admin query cache --- cronjobs/statistics.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cronjobs/statistics.php b/cronjobs/statistics.php index 2a145692..3d54fd78 100755 --- a/cronjobs/statistics.php +++ b/cronjobs/statistics.php @@ -42,11 +42,13 @@ $start = microtime(true); if (!$statistics->getCurrentHashrate()) $log->logError("getCurrentHashrate update failed"); $log->logInfo("getCurrentHashrate " . number_format(microtime(true) - $start, 2) . " seconds"); +/* // Admin specific statistics, we cache the global query due to slowness $start = microtime(true); if (!$statistics->getAllUserStats('%')) $log->logError("getAllUserStats update failed"); $log->logInfo("getAllUserStats " . number_format(microtime(true) - $start, 2) . " seconds"); +*/ // Per user share statistics based on all shares submitted $start = microtime(true);