X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FObject%2FRemote%2FMiniLoop.pm;h=cf572d69d62eaa9c29d93f7274c4ddc0ffb0f9bf;hb=fb94f5454a40bdf22df64315c968a8d9b35ae40c;hp=ab8e85a1fdb9751b7b5a9213340ac112ba6e2cc4;hpb=8d757beb3bd870615c5a5b3076f7dc72ae9cc637;p=scpubgit%2FObject-Remote.git diff --git a/lib/Object/Remote/MiniLoop.pm b/lib/Object/Remote/MiniLoop.pm index ab8e85a..cf572d6 100644 --- a/lib/Object/Remote/MiniLoop.pm +++ b/lib/Object/Remote/MiniLoop.pm @@ -2,9 +2,11 @@ package Object::Remote::MiniLoop; use IO::Select; use Time::HiRes qw(time); -use Object::Remote::Logging qw( :log :dlog ); +use Object::Remote::Logging qw( :log :dlog router ); use Moo; +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'); #maximum duration that select() will block - undef means indefinite,