mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Merge pull request #2861 from ujwaltrivedi/master
Get unlimited number of slabs when clearing cache keys in memcache.
This commit is contained in:
commit
3d00ca9643
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ class MemcacheEngine extends CacheEngine {
|
||||||
if ($check) {
|
if ($check) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
foreach ($this->_Memcache->getExtendedStats('slabs') as $slabs) {
|
foreach ($this->_Memcache->getExtendedStats('slabs', 0) as $slabs) {
|
||||||
foreach (array_keys($slabs) as $slabId) {
|
foreach (array_keys($slabs) as $slabId) {
|
||||||
if (!is_numeric($slabId)) {
|
if (!is_numeric($slabId)) {
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue