Skip to content

Commit

Permalink
rubocop --only Performance/StringIdentifierArgument -a
Browse files Browse the repository at this point in the history
  • Loading branch information
Irving-Betterment committed Dec 28, 2023
1 parent cd5933c commit b16a2ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/delayed/monitor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def run!
attr_reader :jobs

def emit_metric!(metric)
send("#{metric}_grouped").reverse_merge(default_results).each do |(priority, queue), value|
send(:"#{metric}_grouped").reverse_merge(default_results).each do |(priority, queue), value|
ActiveSupport::Notifications.instrument(
"delayed.job.#{metric}",
default_tags.merge(priority: Priority.new(priority).to_s, queue: queue, value: value),
Expand Down

0 comments on commit b16a2ed

Please sign in to comment.