Commit 2f34ef46 authored by Will Spooner's avatar Will Spooner
Browse files

Resets retry_count to 0 for reset_job_by_dbID method

parent d4214303
...@@ -614,7 +614,7 @@ sub reset_job_by_dbID { ...@@ -614,7 +614,7 @@ sub reset_job_by_dbID {
my ($sql, $sth); my ($sql, $sth);
#first just reset the claimed jobs, these don't need a retry_count index increment #first just reset the claimed jobs, these don't need a retry_count index increment
$sql = "UPDATE analysis_job SET hive_id=0, job_claim='', status='READY' WHERE analysis_job_id=?"; $sql = "UPDATE analysis_job SET hive_id=0, job_claim='', status='READY', retry_count=0 WHERE analysis_job_id=?";
$sth = $self->prepare($sql); $sth = $self->prepare($sql);
$sth->execute($analysis_job_id); $sth->execute($analysis_job_id);
$sth->finish; $sth->finish;
......
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