Closed neko32 closed 3 years ago
Overview
Currently BIN cache doesn't have expiry. We may want to expire the cache with 1 hour.
TODO
Pass expiry parameter with 1 hour = 3600 seconds on Redis set query
Success Criteria
After persisting the BIN to redis, we should see TTL redis command should return seconds to expiry.
test evidence
C:\Users\neko6>redis-cli 127.0.0.1:6379> keys * 1) "test:score10" 2) "binsvc:bin:45717360" 3) "test:score9" 127.0.0.1:6379> ttl binsvc:bin:45717360 (integer) 3565 127.0.0.1:6379>
Overview
Currently BIN cache doesn't have expiry. We may want to expire the cache with 1 hour.
TODO
Pass expiry parameter with 1 hour = 3600 seconds on Redis set query
Success Criteria
After persisting the BIN to redis, we should see TTL redis command should return seconds to expiry.