Allow re-submission of completed jobs

This commit is contained in:
HummyPkg 2017-02-22 07:26:20 +00:00
parent 55528cf3d1
commit 40c54af482

View File

@ -167,7 +167,7 @@ proc {queue resubmit} {id} {
update queue update queue
set status = 'PENDING', interrupts = 0 set status = 'PENDING', interrupts = 0
where id = '%s' where id = '%s'
and status in ('FAILED', 'HOLD') and status in ('FAILED', 'HOLD', 'COMPLETE')
" "
$db query $q $id $db query $q $id