change from ignore to skip name

This commit is contained in:
Oliver Gorwits
2017-05-21 22:35:38 +01:00
parent ed193356f8
commit cf8589aba2
4 changed files with 10 additions and 10 deletions

View File

@@ -35,9 +35,9 @@ sub _getsome {
my $rs = $jobs->search({
status => 'queued',
device => { '-not_in' => $jobs->correlate('ignored')->search({
device => { '-not_in' => $jobs->correlate('skipped')->search({
backend => $fqdn,
-or => [{ failures => { '>=', 10 } },{ '-bool' => 'ignore' }],
-or => [{ failures => { '>=', 10 } },{ '-bool' => 'skipover' }],
}, { columns => 'device' })->as_query },
%$where,
}, { order_by => 'random()', rows => $num_slots });