[IMPROVED] Skip contrib shares until cache available
* Will help larger pools * Will fallback to SQL if memcache is disabled
This commit is contained in:
parent
c8fbc369cf
commit
baaf8bf6eb
@ -670,7 +670,9 @@ class Statistics extends Base {
|
|||||||
return $data_new;
|
return $data_new;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// No cached data, fallback to SQL and cache in local cache
|
// No cached data, fallback to SQL ONLY if we don't use memcache
|
||||||
|
if ($this->config['memcache']['enabled'])
|
||||||
|
return false;
|
||||||
$stmt = $this->mysqli->prepare("
|
$stmt = $this->mysqli->prepare("
|
||||||
SELECT
|
SELECT
|
||||||
a.username AS account,
|
a.username AS account,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user