Fixes: https://linear.app/chatwoot/issue/CW-2983/sidekiq-jobservice-to-monitor-sla-breach Co-authored-by: Sojan <sojan@pepalo.com>
8 lines
179 B
Ruby
8 lines
179 B
Ruby
class Sla::ProcessAppliedSlaJob < ApplicationJob
|
|
queue_as :medium
|
|
|
|
def perform(applied_sla)
|
|
Sla::EvaluateAppliedSlaService.new(applied_sla: applied_sla).perform
|
|
end
|
|
end
|