Refactor (ruby) redis configuration (#31694)
This commit is contained in:
parent
a23b3747ac
commit
388d5473e1
20 changed files with 295 additions and 90 deletions
|
@ -101,7 +101,8 @@ module Mastodon
|
|||
end
|
||||
|
||||
config.before_configuration do
|
||||
require 'mastodon/redis_config'
|
||||
require 'mastodon/redis_configuration'
|
||||
::REDIS_CONFIGURATION = Mastodon::RedisConfiguration.new
|
||||
|
||||
config.x.use_vips = ENV['MASTODON_USE_LIBVIPS'] == 'true'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue