X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FObject-Remote.git;a=blobdiff_plain;f=lib%2FObject%2FRemote%2FConnection.pm;h=b8145abeaf7bc01d867a2fcd2972bd1d4486dc36;hp=b7c8903c3c9f989a3b13628660f3b153324dbc6f;hb=f4a8508058f7bad5052775a8df3e683527c73333;hpb=8faf2a289aa3409e7cafe2536f943fb43033b086 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