Skip to content

Commit

Permalink
Remove usage of deprecated thread_safe option
Browse files Browse the repository at this point in the history
  • Loading branch information
alxckn committed Mar 28, 2024
1 parent d711d57 commit 2aef91a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ require "resque_pause_helper"

require "solid_queue"

Resque.redis = Redis::Namespace.new "#{Rails.env}", redis: Redis.new(host: "localhost", port: 6379, thread_safe: true)
Resque.redis = Redis::Namespace.new "#{Rails.env}", redis: Redis.new(host: "localhost", port: 6379)

SERVERS_BY_APP = {
BC4: %w[ resque_ashburn resque_chicago ],
Expand Down
2 changes: 1 addition & 1 deletion test/dummy/config/initializers/mission_control_jobs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

require "solid_queue"

Resque.redis = Redis::Namespace.new "#{Rails.env}", redis: Redis.new(host: "localhost", port: 6379, thread_safe: true)
Resque.redis = Redis::Namespace.new "#{Rails.env}", redis: Redis.new(host: "localhost", port: 6379)

SERVERS_BY_APP = {
BC4: %w[ resque_ashburn resque_chicago ],
Expand Down
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def delete_solid_queue_data
end

def root_resque_redis
@root_resque_redis ||= Redis.new(host: "localhost", port: 6379, thread_safe: true)
@root_resque_redis ||= Redis.new(host: "localhost", port: 6379)
end

def reset_configured_queues_for_job_classes
Expand Down

0 comments on commit 2aef91a

Please sign in to comment.