routemaster/jobs/monitor.rb
Method has too many lines. [31/30] Open
Open
def call
@dispatcher.batched do
Models::Batch.gauges.each_pair do |type, data|
data.each_pair do |name, count|
@dispatcher.gauge(
- Read upRead up
- Exclude checks
This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.
Method call
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def call
@dispatcher.batched do
Models::Batch.gauges.each_pair do |type, data|
data.each_pair do |name, count|
@dispatcher.gauge(