change to init, first, second stages
This commit is contained in:
@@ -8,7 +8,7 @@ use App::Netdisco::Transport::SNMP ();
|
||||
use Dancer::Plugin::DBIC 'schema';
|
||||
use Encode;
|
||||
|
||||
register_worker({ primary => false, driver => 'snmp' }, sub {
|
||||
register_worker({ stage => 'first', driver => 'snmp' }, sub {
|
||||
my ($job, $workerconf) = @_;
|
||||
|
||||
my $device = $job->device;
|
||||
|
||||
Reference in New Issue
Block a user