Commit cbd22c2e authored by Leo Gordon's avatar Leo Gordon
Browse files


parent 81f9f84d
......@@ -576,6 +576,7 @@ sub release_undone_jobs_from_worker {
sub release_and_age_job {
my ($self, $job_id, $max_retry_count, $may_retry) = @_;
$may_retry ||= 0;
# NB: The order of updates IS important. Here we first find out the new status and then increment the retry_count:
$self->dbc->do( qq{
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment