X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FObject-Remote.git;a=blobdiff_plain;f=lib%2FObject%2FRemote%2FNode.pm;h=a3f88a5094d431002cff563b077121499ccd1891;hp=dd7b85f1b36377ced77762152a152c100181d570;hb=e42ea8c86203339ab8290ec9f6647778f0bdec1c;hpb=783105c4013747147c7195f043961af40b9908b7 diff --git a/lib/Object/Remote/Node.pm b/lib/Object/Remote/Node.pm index dd7b85f..a3f88a5 100644 --- a/lib/Object/Remote/Node.pm +++ b/lib/Object/Remote/Node.pm @@ -30,7 +30,7 @@ sub run { #a command that clears the alarm in all instances - even #if the Object::Remote::Watchdog is not being used if ($args{watchdog_timeout}) { - Object::Remote::WatchDog->new(timeout => $args{watchdog_timeout}); + Object::Remote::WatchDog->instance(timeout => $args{watchdog_timeout}); } else { #reset connection watchdog from the fatnode alarm(0);