remove global rubbish

This commit is contained in:
Oliver Gorwits
2017-11-05 20:54:28 +00:00
parent 28b016e713
commit 4436150bf4
3 changed files with 0 additions and 21 deletions

View File

@@ -32,12 +32,6 @@ register 'register_worker' => sub {
my $job = shift or return Status->error('missing job param');
# use DDP; p $workerconf;
# once workers at a given priority level in a namespace are successful,
# we can skip workers at lower priorities (that is, other drivers)
return Status->noop('skipped worker after previous namespace success')
if vars->{'last_worker_ok'}
and $workerconf->{priority} < vars->{'last_worker_priority'};
# worker might be vendor/platform specific
if (ref $job->device) {
my $no = (exists $workerconf->{no} ? $workerconf->{no} : undef);