提交 86608537 编写于 作者: V Vipul A M

- Removed unused variable warnings from ActiveJob Adapters

上级 16c04040
......@@ -29,7 +29,7 @@ def tube
def can_run?
begin
Backburner::Worker.connection.send :connect!
rescue => e
rescue
return false
end
true
......
......@@ -30,7 +30,7 @@ def stop_workers
def can_run?
begin
Qu.backend.connection.client.connect
rescue => e
rescue
return false
end
true
......
......@@ -41,7 +41,7 @@ def stop_workers
def can_run?
begin
Resque.redis.client.connect
rescue => e
rescue
return false
end
true
......
......@@ -49,7 +49,7 @@ def stop_workers
def can_run?
begin
Sidekiq.redis { |conn| conn.connect }
rescue => e
rescue
return false
end
true
......
......@@ -68,7 +68,7 @@ def stop_workers
def can_run?
begin
bunny_publisher
rescue => e
rescue
return false
end
true
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册