move Runner to Worker namespace

This commit is contained in:
Oliver Gorwits
2017-09-04 20:35:42 +01:00
parent 1c2cf924bc
commit be0c5181a3
3 changed files with 3 additions and 3 deletions

View File

@@ -104,7 +104,7 @@ unless ($action) {
use App::Netdisco::Util::Device
qw/get_device delete_device renumber_device/;
with 'App::Netdisco::Backend::Runner';
with 'App::Netdisco::Worker::Runner';
eval { Module::Load::load 'App::Netdisco::Util::Graph' };
sub graph {

View File

@@ -12,7 +12,7 @@ use Time::HiRes 'sleep';
use App::Netdisco::JobQueue qw/jq_defer jq_complete/;
# add dispatch methods for poller tasks
with 'App::Netdisco::Backend::Runner';
with 'App::Netdisco::Worker::Runner';
sub worker_begin { (shift)->{started} = time }

View File

@@ -1,4 +1,4 @@
package App::Netdisco::Backend::Runner;
package App::Netdisco::Worker::Runner;
use Dancer ':moose :syntax';
use Dancer::Factory::Hook;