lib/belated/job_wrapper.rb in belated-0.6.4 vs lib/belated/job_wrapper.rb in belated-0.6.5

- old
+ new

@@ -51,10 +51,10 @@ def retry_job self.retries += 1 return if retries > max_retries - self.at = Time.now.utc + (retries.next**4) + self.at = Time.now + (retries.next**4) log "Job #{id} failed, retrying at #{at}" Belated.job_list.push(self) end end end