Skip to content

Commit

Permalink
Inline more
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikspang committed Oct 29, 2024
1 parent 4e881b3 commit 19fe1bb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions sentry-sidekiq/lib/sentry/sidekiq/cron/job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def start_transaction(scope)
Sentry.start_transaction(
name: scope.transaction_name,
source: scope.transaction_source,
op: transaction_op,
op: "queue.sidekiq-cron",
origin: "auto.queue.sidekiq.cron"
)
end
Expand All @@ -77,10 +77,6 @@ def finish_transaction(transaction, status_code)
transaction.set_http_status(status_code)
transaction.finish
end

def transaction_op
"queue.sidekiq-cron"
end
end
end
end
Expand Down

0 comments on commit 19fe1bb

Please sign in to comment.