Class: CanvasSync::Job

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
lib/canvas_sync/job.rb

Overview

Inherit from this class to build a Job that will log to the canvas_sync_job_logs table

Instance Method Summary collapse

Instance Method Details

#report_checker_wait_time ⇒ Object



25
26
27
# File 'lib/canvas_sync/job.rb', line 25

def report_checker_wait_time
  Rails.env.development? ? 1.second : 30.seconds
end