sorentwo / readthis

:newspaper: Pooled active support compliant caching with redis
MIT License
506 stars 40 forks source link

Add ability to asynchronously reset the cache #57

Closed Napolskih closed 7 years ago

Napolskih commented 7 years ago

https://redis.io/commands/flushdb https://github.com/redis/redis-rb/pull/706

For Redis 4.0.0 or greater and redis-rb 4 or greather.

Rails.cache.clear(async: true)

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 68d72fafbfd360146fad6be84cc9b0f90efccf92 on Napolskih:async-clear into 484d4be2dcb17ea056055bde06fcdc52c3fe04f0 on sorentwo:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling f1326121e16131da2a68ae227ceae6062d6dd923 on Napolskih:async-clear into 484d4be2dcb17ea056055bde06fcdc52c3fe04f0 on sorentwo:master.

Napolskih commented 7 years ago

🆙

Napolskih commented 6 years ago

hi I do not see this commit in master 😄

sorentwo commented 6 years ago

@Napolskih It must have been force pushed over, sorry. It was in my ref-log locally though, so I've cherry-picked it and pushed it back up.