fixed typo, added debug level to key store
This commit is contained in:
parent
6102357cb9
commit
6a2173d504
@ -25,7 +25,7 @@ class StatsCache extends Memcached {
|
|||||||
if (! $this->config['memcache']['enabled']) return false;
|
if (! $this->config['memcache']['enabled']) return false;
|
||||||
if (empty($expiration))
|
if (empty($expiration))
|
||||||
$expiration = $this->config['memcache']['expiration'] + rand( -$this->config['memcache']['splay'], $this->config['memcache']['splay']);
|
$expiration = $this->config['memcache']['expiration'] + rand( -$this->config['memcache']['splay'], $this->config['memcache']['splay']);
|
||||||
$this->debug->append("Stroing " . $this->config['memcache']['keyprefix'] . "$key with expiration of $expiration");
|
$this->debug->append("Storing " . $this->config['memcache']['keyprefix'] . "$key with expiration $expiration", 3);
|
||||||
return parent::set($this->config['memcache']['keyprefix'] . $key, $value, $expiration);
|
return parent::set($this->config['memcache']['keyprefix'] . $key, $value, $expiration);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user