disable SQL intensive admin query cache

This commit is contained in:
Sebastian Grewe 2013-07-12 19:42:26 +02:00
parent 3df40b5bb7
commit 015da23d8e

View File

@ -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);