gulaftab / redis

Automatically exported from code.google.com/p/redis
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

require a command that reset expire time while get a key #617

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What version of Redis you are using, in what kind of Operating System?
2.2.11, suse

What is the problem you are experiencing?
require a command that reset expire time while get a key, like setex
it's is commonly used in cache, the newly accessed key should live longer

What steps will reproduce the problem?
none

Do you have an INFO output? Please past it here.
none

If it is a crash, can you please paste the stack trace that you can find in
the log file or on standard output? This is really useful for us!
none

Please provide any additional information below.
none

Original issue reported on code.google.com by wonde...@gmail.com on 1 Aug 2011 at 9:42

GoogleCodeExporter commented 9 years ago
It is as simple as:

MULTI
GET ...
EXPIRE ... 10000
EXEC

Cheers,
Salvatore

Original comment by anti...@gmail.com on 14 Sep 2011 at 3:45