Comments (4)
Interestingly I've always been in favor of treating nil
as a cache miss, so I'm fine with the change.
from readthis.
On second thought, or at least, on attempt, this is a little trickier. fetch_multi
relies on the fact that read_multi
retains nil
values, so this will take some more refactoring.
from readthis.
yes read_multi will have to remove missed keys and this will probably break some things
from readthis.
2.0.0 has been released with the breaking change, and an escape hatch to retain the old behavior: c9c5c0a
from readthis.
Related Issues (20)
- Let us pass our own Connection Pool? HOT 2
- uninitialized constant ActiveRecord::Type from Rails.cache.fetch HOT 3
- Handle decimal expiration more gracefully, i.e. when SETEX expires_in.to_i is SETEX 0 HOT 1
- Readthis as a store for Rack::Cache? HOT 3
- 1.4.0 UnknownCommandError locating mexpire script. HOT 2
- A word about delete_matched HOT 1
- Getting error when Redis is down - Errno::EINVAL: Invalid argument HOT 2
- Incompatible character encodings: UTF-8 and ASCII-8BIT HOT 2
- Set readthis connection pool after configuring cache_store as readthis_store? HOT 3
- How to use zset in readthis? HOT 1
- Incrementing and decrementing key does not preserve its expiration (i.e. TTL) HOT 3
- why fault tolerant options is a global options? HOT 3
- How to close redis connection? HOT 1
- Is there any support for distributed client for redis? HOT 1
- Can readthis use hashes instead of strings? HOT 1
- Usage with Puma and connection_pool HOT 4
- Rails 6 cache versioning error HOT 3
- Dependabot can't resolve your Ruby dependency files
- Dependabot can't resolve your Ruby dependency files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from readthis.