Subject: | bad exptime values passed to memcached with expires_on_backend |
Date: | Sun, 26 Jul 2015 22:06:07 +0700 |
To: | <bug-CHI [...] rt.cpan.org> |
From: | Justin DeVuyst <justin [...] devuyst.com> |
Hello,
In the past (at hearst) I saw Cache::Memcached::libmemcached->set
passed expire values of 0 and -1 when expires_on_backend was set.
I'm pretty sure memcached is not reacting as intended to those
values.
See:
https://github.com/memcached/memcached/blob/master/doc/protocol.txt#L163-L168
and
https://github.com/memcached/memcached/blob/master/doc/protocol.txt#L79-L90
Talking to memcached in Unix Time seems a good solution.
-jdv