X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FObject-Remote.git;a=blobdiff_plain;f=lib%2FObject%2FRemote%2FMiniLoop.pm;h=cf572d69d62eaa9c29d93f7274c4ddc0ffb0f9bf;hp=5a47f562ec71a5ca22bed3c4ecddb1738e535e0e;hb=f4a8508058f7bad5052775a8df3e683527c73333;hpb=4e4463355a9ec6afdc7983ee36daa9f11306d4fc diff --git a/lib/Object/Remote/MiniLoop.pm b/lib/Object/Remote/MiniLoop.pm index 5a47f56..cf572d6 100644 --- a/lib/Object/Remote/MiniLoop.pm +++ b/lib/Object/Remote/MiniLoop.pm @@ -2,10 +2,10 @@ package Object::Remote::MiniLoop; use IO::Select; use Time::HiRes qw(time); -use Object::Remote::Logging qw( :log :dlog get_router ); +use Object::Remote::Logging qw( :log :dlog router ); use Moo; -BEGIN { get_router()->exclude_forwarding } +BEGIN { router()->exclude_forwarding } # this is ro because we only actually set it using local in sub run has is_running => (is => 'ro', clearer => 'stop');