Updated

app/jobs / invalidate_signatures_job.rb

A
11 lines of codes
1 methods
1.0 complexity/method
2 churn
1.0 complexity
0 duplications
class InvalidateSignaturesJob < ApplicationJob
  1. InvalidateSignaturesJob has no descriptive comment
queue_as :high_priority rescue_from(ActiveJob::DeserializationError) do |exception| Appsignal.send_exception exception end def perform(invalidation)
  1. InvalidateSignaturesJob#perform doesn't depend on instance state (maybe move it to another class?)
invalidation.invalidate! end end