Setting the TTL (expire) using new Redis-OM & Node Object Mapping
I came across the new Redis-OM Node Object Mapping functionality, I’ve not really experimented with Redis before but I thought now might be the time to give it a go.
I came across the new Redis-OM Node Object Mapping functionality, I’ve not really experimented with Redis before but I thought now might be the time to give it a go.
I want to listen the expire events from Redis.
I’ve configured on my redis.conf
the notify-keyspace-events "AKE"
and this is my code on node: