File: //usr/local/rvm/gems/default/doc/activejob-6.1.4.1/ri/ActiveJob/Exceptions/retry_job-i.ri
U:RDoc::AnyMethod[iI"retry_job:ETI"$ActiveJob::Exceptions#retry_job;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"JReschedules the job to be re-executed. This is useful in combination ;TI"Owith the +rescue_from+ option. When you rescue an exception from your job ;TI"9you can ask Active Job to retry performing your job.;To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading:
leveli : textI"Options;To:RDoc::Markup::List:
@type:BULLET:@items[ o:RDoc::Markup::ListItem:@label0; [o;
; [I"J<tt>:wait</tt> - Enqueues the job with the specified delay in seconds;To;;0; [o;
; [I"B<tt>:wait_until</tt> - Enqueues the job at the time specified;To;;0; [o;
; [I"><tt>:queue</tt> - Enqueues the job on the specified queue;To;;0; [o;
; [I"F<tt>:priority</tt> - Enqueues the job with the specified priority;T@S;;
i ;I"
Examples;T@o:RDoc::Markup::Verbatim; [I",class SiteScraperJob < ActiveJob::Base
;TI"( rescue_from(ErrorLoadingSite) do
;TI"( retry_job queue: :low_priority
;TI" end
;TI"
;TI" def perform(*args)
;TI"3 # raise ErrorLoadingSite if cannot scrape
;TI" end
;TI"end;T:@format0:
@fileI"!lib/active_job/exceptions.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(options = {});T@6FI"Exceptions;TcRDoc::NormalModule00