Skip to content

Commit b0051a5

Browse files
chore order_items_job.rb: queue as items
1 parent 47fd032 commit b0051a5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/jobs/order_items_job.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
class OrderItemsJob < ApplicationJob
2-
queue_as :default
3-
retry_on StandardError, attempts: 5, wait: :exponentially_longer
2+
queue_as :items
43

54
def perform(record)
65
return unless record.items.empty?

0 commit comments

Comments
 (0)