We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9fbbf8c + b9db146 commit 2f19341Copy full SHA for 2f19341
config/initializers/sidekiq.rb
@@ -1,18 +1,8 @@
1
# frozen_string_literal: true
2
3
-sidekiq_config = {
+Sidekiq.default_configuration.redis = {
4
url: ENV["REDIS_URL"],
5
- ssl_params: {verify_mode: OpenSSL::SSL::VERIFY_NONE}
+ ssl_params: {
6
+ verify_mode: OpenSSL::SSL::VERIFY_NONE
7
+ }
8
}
-
-Sidekiq.configure_server do |config|
9
- config.redis = sidekiq_config
10
-end
11
12
-Sidekiq.configure_client do |config|
13
14
15
16
-if Sidekiq.server?
17
- Rails.application.config.active_record.warn_on_records_fetched_greater_than = 1500
18
0 commit comments