1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

- Removed unused variable warnings from ActiveJob Adapters

This commit is contained in:
Vipul A M 2014-10-19 23:17:22 +05:30
parent 16c04040f4
commit 8660853770
5 changed files with 5 additions and 5 deletions

View file

@ -29,7 +29,7 @@ module BackburnerJobsManager
def can_run?
begin
Backburner::Worker.connection.send :connect!
rescue => e
rescue
return false
end
true

View file

@ -30,7 +30,7 @@ module QuJobsManager
def can_run?
begin
Qu.backend.connection.client.connect
rescue => e
rescue
return false
end
true

View file

@ -41,7 +41,7 @@ module ResqueJobsManager
def can_run?
begin
Resque.redis.client.connect
rescue => e
rescue
return false
end
true

View file

@ -49,7 +49,7 @@ module SidekiqJobsManager
def can_run?
begin
Sidekiq.redis { |conn| conn.connect }
rescue => e
rescue
return false
end
true

View file

@ -68,7 +68,7 @@ module SneakersJobsManager
def can_run?
begin
bunny_publisher
rescue => e
rescue
return false
end
true