Quantcast
Channel: How to "EXPIRE" the "HSET" child key in redis? - Stack Overflow
Viewing all articles
Browse latest Browse all 19

Answer by Supr for How to "EXPIRE" the "HSET" child key in redis?

$
0
0

This is not possible, for the sake of keeping Redis simple.

Quoth Antirez, creator of Redis:

Hi, it is not possible, either use a different top-level key for that specific field, or store along with the filed another field with an expire time, fetch both, and let the application understand if it is still valid or not based on current time.


Viewing all articles
Browse latest Browse all 19

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>