simplify to remove phases and fewer hooks
This commit is contained in:
@@ -6,7 +6,7 @@ use aliased 'App::Netdisco::Worker::Status';
|
||||
|
||||
use Dancer::Plugin::DBIC 'schema';
|
||||
|
||||
register_worker({ stage => 'second' }, sub {
|
||||
register_worker({ stage => 'main' }, sub {
|
||||
my ($job, $workerconf) = @_;
|
||||
my $device = $job->device;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user