Hi, This idea is based on the *queue_respond_timeout* config provided by backburner.(Link - https://github.com/nesquena/backburner#enqueuing-jobs) <https://github.com/nesquena/backburner#enqueuing-jobs>
A rough draft on how it can look like - class ProcessPaymentJob < ApplicationJob response_timeout 120.seconds rescue_from(ActiveJob::JobTimedoutError) do |err| # Error handling end def perform(payment) # business logic end end I am an avid fan of rails and would love to contribute. Regards, Ramkumar K R -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at https://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.