Hi,
its already implemented. Just call
$redis->expire('key', $seconds_to_live);
or
$redis->expireat('key', $epoch);
or even
$redis->setex('key', $seconds_to_live, 'value');
Redis.pm uses AUTOLOAD to implement most commands so you shouldn't have to upgrade
Redis.pm even if new commands are introduced in future versions of Redis.
Bye,
On Tue Feb 22 16:17:04 2011, alex1line@gmail.com wrote:
Show quoted text> Hello,
> Redis supports command Expire for set a key's time to life.
> Could you implement it?
--
Hi, how are you?