test/dummy/app/jobs/max_job.rb in activejob-retriable-0.2.6 vs test/dummy/app/jobs/max_job.rb in activejob-retriable-5.0.0
- old
+ new
@@ -1,7 +1,5 @@
-class MaxJob < ActiveJob::Base
- include ActiveJob::Retriable
-
+class MaxJob < ApplicationJob
queue_as :default
max_retry 10
def perform
raise StandardError