v4.1.5 #26

Merged
asonix merged 9 commits from asonix/changes into asonix/downstream 2023-07-23 23:37:41 +00:00
Showing only changes of commit 69c8f26946 - Show all commits

View file

@ -3,6 +3,11 @@
require_relative '../../lib/mastodon/sidekiq_middleware'
Sidekiq.configure_server do |config|
if Rails.configuration.database_configuration.dig('production', 'adapter') == 'postgresql_makara'
STDERR.puts 'ERROR: Database replication is not currently supported in Sidekiq workers. Check your configuration.'
exit 1
end
config.redis = REDIS_SIDEKIQ_PARAMS
config.server_middleware do |chain|