From: Tyler Riddle Date: Mon, 21 Jan 2013 23:45:54 +0000 (-0800) Subject: add a note about $Object::Remote::FatNode::REMOTE_NODE X-Git-Tag: v0.003001_01~14 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FObject-Remote.git;a=commitdiff_plain;h=ffc9934e59f8c485311c960b867d61aa4276893a add a note about $Object::Remote::FatNode::REMOTE_NODE --- diff --git a/lib/Object/Remote/Role/Connector/PerlInterpreter.pm b/lib/Object/Remote/Role/Connector/PerlInterpreter.pm index 20fb59b..090f132 100644 --- a/lib/Object/Remote/Role/Connector/PerlInterpreter.pm +++ b/lib/Object/Remote/Role/Connector/PerlInterpreter.pm @@ -237,6 +237,12 @@ sub fatnode_text { } $text .= $self->_create_env_forward(@{$self->forward_env}); + + #Action at a distance but at least it's not spooky - the logging + #system needs to know if a node is remote but there is a period + #during init where the remote connection information has not been + #setup on the remote side yet so this flag allows a graceful + #degredation to happen $text .= '$Object::Remote::FatNode::REMOTE_NODE = "1";' . "\n"; $text .= <<'END';