Revert "move expire code to be initial plugin pilot (broken)"
I think we'll only do the new backend code for jobs with a device.
This reverts commit 07998b72d9.
This commit is contained in:
@@ -53,11 +53,11 @@ register 'register_core_worker' => sub {
|
||||
# run worker
|
||||
my $happy = false;
|
||||
try {
|
||||
my @result = $code->($job, $workerconf);
|
||||
$code->($job, $workerconf);
|
||||
$happy = true;
|
||||
}
|
||||
catch { debug $_ };
|
||||
return @result if $happy; # FIXME
|
||||
return $happy;
|
||||
};
|
||||
|
||||
my $hook = $workerconf->{hook} .'_'. $phase;
|
||||
|
||||
Reference in New Issue
Block a user