Skip to content

Commit

Permalink
Create sidekiq.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
eleanorreem authored Oct 23, 2024
1 parent 0b7cdc0 commit db0ac75
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions config/sidekiq.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Sidekiq.configure_server do |config|
config.redis = {
url: ENV["REDIS_URL"],

Check failure on line 3 in config/sidekiq.rb

View workflow job for this annotation

GitHub Actions / Ruby Linting

Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols. (https://rubystyle.guide#consistent-string-literals)
ssl_params: { verify_mode: OpenSSL::SSL::VERIFY_NONE }
}
end

Sidekiq.configure_client do |config|
config.redis = {
url: ENV["REDIS_URL"],

Check failure on line 10 in config/sidekiq.rb

View workflow job for this annotation

GitHub Actions / Ruby Linting

Layout/FirstHashElementIndentation: Use 2 spaces for indentation in a hash, relative to the start of the line where the left curly brace is.

Check failure on line 10 in config/sidekiq.rb

View workflow job for this annotation

GitHub Actions / Ruby Linting

Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols. (https://rubystyle.guide#consistent-string-literals)
ssl_params: { verify_mode: OpenSSL::SSL::VERIFY_NONE }
}
end

0 comments on commit db0ac75

Please sign in to comment.