Quantcast
Channel: Redis: To set timeout for a key value pair in Set - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Itamar Haber for Redis: To set timeout for a key value pair in Set

Unfortunately, no. Redis' "containers" (i.e. lists, hashes, sets and sorted sets) do not support per-member expiry, although this functionality has been requested many times in the past. You can,...

View Article



Redis: To set timeout for a key value pair in Set

I have a Redis set with key 'a' and value '1','2','3'. Is there a way to set different expire time for each key-value pair in the set. For example ('a','1') should expire after 60 seconds where as...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images