some cached values are often zero (eg unread PMs), 'zero' is still a cache hit though, only 'false' is miss
This commit is contained in:
parent
1daf0416bd
commit
d3e2653002
@ -195,7 +195,7 @@ class MemcacheCache implements CacheEngine {
|
||||
public function get($key) {
|
||||
assert(!is_null($key));
|
||||
$val = $this->memcache->get($key);
|
||||
if($val) {
|
||||
if($val !== false) {
|
||||
$this->hits++;
|
||||
return $val;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user