incr command does not update expiration

2011-12-07 Thread Bruno Pospichil
Hi, I'm developing some applications using memcached and I saw that the incr operation does not update the key's expiration, requiring the usage of get + set if I want to update the expiration. Is there a special reason to this behavior? Thanks in advance, Bruno Pospichil

Re: incr command does not update expiration

2011-12-07 Thread dormando
Hi, I'm developing some applications using memcached and I saw that the incr operation does not update the key's expiration, requiring the usage of get + set if I want to update the expiration. Is there a special reason to this behavior? It's more flexible if that's the default. you can