Skip to content

Commit

Permalink
Add one more flag for convenience
Browse files Browse the repository at this point in the history
  • Loading branch information
aklaswad committed Mar 28, 2019
1 parent 00102e2 commit 4cdf9ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/TheSchwartz/Job.pm
Original file line number Diff line number Diff line change
@@ -306,6 +306,7 @@ sub _failed {
}
$job->grabbed_until(0);
$job->driver->update($job);
$job->{__is_retrying} = 1;
}
elsif ($_retry >= 0 && $class->withhold_after_retry) {
$job->run_after($class->epoch_mean_pending);

0 comments on commit 4cdf9ef

Please sign in to comment.