You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The last 1.x version should support ALL of these changes when Redis::Namespace#initialize is called with deprecations: true OR the REDIS_NAMESPACE_DEPRECATIONS environment varible set, and should warn unless Redis::Namespace#initialize is called with warnings: false OR the REDIS_NAMESPACE_QUIET environment variable set.
deprecations pathway
deprecation path can be enabled with deprecations: true
deprecation path can be enabled with REDIS_NAMESPACE_DEPRECATIONS
deprecations: false is default
warnings pathway
warnings path can be disabled with warnings: false
warnings path can be disabled with REDIS_NAMESPACE_QUIET
Don't allow direct use of non-namespaced commands, but provide a straightforward way to run them when done intentionally, perhaps Redis::Namespace#without_namespace.flushdb
select
flushdb
flushall
shutdown ?
script ?
exec
Guarantee threadsafety for Redis::Namespace#pipelined and Redis::Namespace#multi (preferably without the use of mutexes, although we can use Redis#synchronize if we need to)
Avoid method_missing altogether, since we know the complete list of supported commands
The text was updated successfully, but these errors were encountered:
The last 1.x version should support ALL of these changes when
Redis::Namespace#initialize
is called withdeprecations: true
OR theREDIS_NAMESPACE_DEPRECATIONS
environment varible set, and should warn unlessRedis::Namespace#initialize
is called withwarnings: false
OR theREDIS_NAMESPACE_QUIET
environment variable set.deprecations: true
REDIS_NAMESPACE_DEPRECATIONS
deprecations: false
is defaultwarnings: false
REDIS_NAMESPACE_QUIET
warnings: true
is defaultRedis::Namespace#without_namespace.flushdb
Redis::Namespace#pipelined
andRedis::Namespace#multi
(preferably without the use of mutexes, although we can useRedis#synchronize
if we need to)method_missing
altogether, since we know the complete list of supported commandsThe text was updated successfully, but these errors were encountered: