]> cat aescling's git repositories - mastodon.git/commit
namespace redis usage (#2869)
authorbeatrix <beatrix.bitrot@gmail.com>
Sun, 7 May 2017 17:42:32 +0000 (13:42 -0400)
committerEugen Rochko <eugen@zeonfederated.com>
Sun, 7 May 2017 17:42:32 +0000 (19:42 +0200)
commit5c1f70b5c577123cc42e073dea6a8f72e27818f8
tree1d7fe709a98f6d97ded8db4a020f80efe44b9e01
parentc7848f54ffd67189e368e9d981565076dbb5e770
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
Gemfile
Gemfile.lock
config/initializers/redis.rb
config/initializers/sidekiq.rb
streaming/index.js