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.
1 parent 08188fb commit 8253219Copy full SHA for 8253219
config/initializers/sidekiq.rb
@@ -1,8 +1,10 @@
1
+redis = {
2
+ url: ENV["REDIS_URL"], timeout: 10.seconds
3
+ ssl_params: {verify_mode: OpenSSL::SSL::VERIFY_NONE}
4
+}
5
+
6
Sidekiq.configure_server do |config|
- config.redis = {
- url: ENV["REDIS_URL"],
- ssl_params: {verify_mode: OpenSSL::SSL::VERIFY_NONE}
- }
7
+ config.redis = redis
8
9
config.capsule("AWS SES") do |capsule| # avoid rate limits
10
Rails.configuration.action_mailer.deliver_later_queue_name = "SES"
@@ -12,8 +14,5 @@
12
14
end
13
15
16
Sidekiq.configure_client do |config|
17
18
19
0 commit comments