simplify to remove phases and fewer hooks

This commit is contained in:
Oliver Gorwits
2017-09-18 22:04:22 +01:00
parent 6f78032e28
commit 1969291719
14 changed files with 34 additions and 58 deletions

View File

@@ -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;