mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-27 07:13:44 +01:00
c997091166
connection options instead of setting REDIS_HOST etc individually Close #1986
9 lines
200 B
Ruby
9 lines
200 B
Ruby
# frozen_string_literal: true
|
|
|
|
Sidekiq.configure_server do |config|
|
|
config.redis = { url: ENV['REDIS_URL'] }
|
|
end
|
|
|
|
Sidekiq.configure_client do |config|
|
|
config.redis = { url: ENV['REDIS_URL'] }
|
|
end
|