Skip to content

Commit

Permalink
Remove report verbiage from job template
Browse files Browse the repository at this point in the history
  • Loading branch information
BlaineIrvin committed Aug 15, 2024
1 parent c821429 commit 6ac38d1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

class GenerateReportPdfJob < ApplicationJob
class GeneratePdfJob < ApplicationJob
JobTimeoutError = Class.new(StandardError)
include GoodJob::ActiveJobExtensions::Concurrency
include Chromium::Pdf
Expand All @@ -12,7 +12,7 @@ class GenerateReportPdfJob < ApplicationJob
good_job_control_concurrency_with(
enqueue_limit: 1,
perform_limit: 1,
key: -> { "generate_report_pdf_#{arguments.first.id}" }
key: arguments.first.id
)

around_perform do |_job, block|
Expand Down

0 comments on commit 6ac38d1

Please sign in to comment.