DEV: upgrade redis-namespace gem

New release has a few extra commands namespaced, nothing we use.

Also added a comment about why this is explicitly required.
This commit is contained in:
Sam Saffron 2019-12-12 13:35:43 +11:00
parent 61ac0d47ee
commit b6acfb7847
2 changed files with 8 additions and 1 deletions

View File

@ -43,6 +43,13 @@ gem 'mini_mime'
gem 'mini_suffix' gem 'mini_suffix'
gem 'redis' gem 'redis'
# This is explicitly used by Sidekiq and is an optional dependency.
# We tell Sidekiq to use the namespace "sidekiq" which triggers this
# gem to be used. There is no explicit dependency in sidekiq cause
# redis namespace support is optional
# We already namespace stuff in DiscourseRedis, so we should consider
# just using a single implementation in core vs having 2 namespace implementations
gem 'redis-namespace' gem 'redis-namespace'
# NOTE: AM serializer gets a lot slower with recent updates # NOTE: AM serializer gets a lot slower with recent updates

View File

@ -309,7 +309,7 @@ GEM
optimist (>= 3.0.0) optimist (>= 3.0.0)
rchardet (1.8.0) rchardet (1.8.0)
redis (4.1.3) redis (4.1.3)
redis-namespace (1.6.0) redis-namespace (1.7.0)
redis (>= 3.0.4) redis (>= 3.0.4)
request_store (1.4.1) request_store (1.4.1)
rack (>= 1.4) rack (>= 1.4)