X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FObject%2FRemote%2FConnection.pm;h=b8145abeaf7bc01d867a2fcd2972bd1d4486dc36;hb=1b5b145b0d29afa9dda70a3de0b3546efddb00a0;hp=b7c8903c3c9f989a3b13628660f3b153324dbc6f;hpb=4e4463355a9ec6afdc7983ee36daa9f11306d4fc;p=scpubgit%2FObject-Remote.git diff --git a/lib/Object/Remote/Connection.pm b/lib/Object/Remote/Connection.pm index b7c8903..b8145ab 100644 --- a/lib/Object/Remote/Connection.pm +++ b/lib/Object/Remote/Connection.pm @@ -1,6 +1,6 @@ package Object::Remote::Connection; -use Object::Remote::Logging qw (:log :dlog get_router); +use Object::Remote::Logging qw (:log :dlog router); use Object::Remote::Future; use Object::Remote::Null; use Object::Remote::Handle; @@ -18,7 +18,7 @@ use JSON::PP qw(encode_json); use Moo; BEGIN { - get_router()->exclude_forwarding; + router()->exclude_forwarding; #this will reap child processes as soon #as they are done executing so the process