aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/memcache.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/memcache.php')
-rw-r--r--engine/lib/memcache.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/lib/memcache.php b/engine/lib/memcache.php
index c5618b71d..0b9ba917f 100644
--- a/engine/lib/memcache.php
+++ b/engine/lib/memcache.php
@@ -150,7 +150,7 @@
$key = $this->make_memcache_key($key);
$this->keys_so_far[$key] = time();
- $this->save_persistent_keylist();
+ //$this->save_persistent_keylist();
$result = $this->memcache->set($key, $data, null, $this->expires);
if ((isset($CONFIG->debug)) && ($CONFIG->debug == true) && (!$result))
@@ -164,7 +164,7 @@
$key = $this->make_memcache_key($key);
$this->keys_so_far[$key] = time();
- $this->save_persistent_keylist();
+ //$this->save_persistent_keylist();
$result = $this->memcache->get($key);
if ((isset($CONFIG->debug)) && ($CONFIG->debug == true) && (!$result))
@@ -185,13 +185,13 @@
foreach ($this->keys_so_far as $key => $ts)
$this->memcache->delete($key, 0);
- $this->clear_persistent_keylist();
+ //$this->clear_persistent_keylist();
$this->keys_so_far = array();
return true;
}
- private function load_persistent_keylist()
+ /*private function load_persistent_keylist()
{
return $this->memcache->get($this->namespace.':keys_so_far');
}
@@ -211,6 +211,6 @@
public function __destruct()
{
$this->save_persistent_keylist();
- }
+ }*/
}
?> \ No newline at end of file