namespace redis usage (#2869)
* add redis-namespace gem * namespace redis usage * refactor redis namespace code to be less intrusive previously : would be prepended to keys when the REDIS_NAMESPACE env var was not set now if it is not set the namespacing functions are not used at all, which should prevent disruptions when instances update. * fix redis namespace variable style in streaming js * remove trailing space * final redis namespace style fix
This commit is contained in:
parent
c7848f54ff
commit
5c1f70b5c5
5 changed files with 40 additions and 15 deletions
|
@ -340,9 +340,11 @@ GEM
|
|||
redis-activesupport (5.0.2)
|
||||
activesupport (>= 3, < 6)
|
||||
redis-store (~> 1.3.0)
|
||||
redis-namespace (1.5.3)
|
||||
redis (~> 3.0, >= 3.0.4)
|
||||
redis-store (>= 1.2, < 1.4)
|
||||
redis-rack (2.0.2)
|
||||
rack (>= 1.5, < 3)
|
||||
redis-store (>= 1.2, < 1.4)
|
||||
redis-rails (5.0.2)
|
||||
redis-actionpack (>= 5.0, < 6)
|
||||
redis-activesupport (>= 5.0, < 6)
|
||||
|
@ -524,6 +526,7 @@ DEPENDENCIES
|
|||
rails-settings-cached
|
||||
rails_12factor
|
||||
redis (~> 3.2)
|
||||
redis-namespace
|
||||
redis-rails
|
||||
rqrcode
|
||||
rspec-rails
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue