Author: bicou
Date: 2010-03-26 20:48:11 +0100 (Fri, 26 Mar 2010)
New Revision: 28814
Modified:
plugins/sfRedisPlugin/trunk/lib/Doctrine/Cache/Redis.php
Log:
redis: wrong command for lifetime
Modified: plugins/sfRedisPlugin/trunk/lib/Doctrine/Cache/Redis.php
===================================================================
--- plugins/sfRedisPlugin/trunk/lib/Doctrine/Cache/Redis.php 2010-03-26
19:47:10 UTC (rev 28813)
+++ plugins/sfRedisPlugin/trunk/lib/Doctrine/Cache/Redis.php 2010-03-26
19:48:11 UTC (rev 28814)
@@ -204,7 +204,7 @@
$pipe = $this->_redis->pipeline();
$pipe->set($id, $data);
if ($lifeTime) {
- $pipe->ttl($id, $lifeTime);
+ $pipe->expire($id, $lifeTime);
}
return $pipe->execute();
}
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.