lib/notable/job_extensions.rb in notable-0.2.2 vs lib/notable/job_extensions.rb in notable-0.3.0

- old
+ new

@@ -3,10 +3,10 @@ extend ActiveSupport::Concern included do around_perform do |job, block| # no way to get queued_at time :( - Notable.track_job(job.class.name, job.job_id, job.queue_name, nil) do + Notable.track_job(job.class.name, job.job_id, job.queue_name, nil, try(:notable_slow_job_threshold)) do block.call end end end end