Subject: | expire_in doesn't work |
Hi,
I can't seem to get expiry to work.
use CHI;
my $foo = CHI->new(
driver => 'Redis',
namespace => 'foo',
server => '127.0.0.1:6379',
debug => 0
);
$foo->set('foo', 'bar', 60);
After I run this code and I go to redis-cli and call 'ttl foo||foo' I get -1.
Running this code on Ubuntu 14.04 with Redis 2.8.4 and Perl 5.18.2.