diff --git a/Changes b/Changes index b69662bb..0bb8d782 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,9 @@ +2.049005 - 2021-09-08 + + [ENHANCEMENTS] + + * Change duplicate job status from 'error' to 'info' + 2.049004 - 2021-09-03 [BUG FIXES] diff --git a/lib/App/Netdisco/JobQueue/PostgreSQL.pm b/lib/App/Netdisco/JobQueue/PostgreSQL.pm index 857e2741..c8e58919 100644 --- a/lib/App/Netdisco/JobQueue/PostgreSQL.pm +++ b/lib/App/Netdisco/JobQueue/PostgreSQL.pm @@ -159,7 +159,7 @@ sub jq_getsome { }], ], }, {for => 'update'}) - ->update({ status => 'error', log => (sprintf 'duplicate of %s', $job->id) }); + ->update({ status => 'info', log => (sprintf 'duplicate of %s', $job->id) }); debug sprintf 'getsome: cancelled %s duplicate(s) of job %s', ($gone || 0), $job->id; push @returned, App::Netdisco::Backend::Job->new({ $job->get_columns });