From: Matt S Trout Date: Wed, 25 Jul 2012 17:03:14 +0000 (+0000) Subject: increase default timeout to 10 seconds X-Git-Tag: v0.002003~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FObject-Remote.git;a=commitdiff_plain;h=cc670b3044ce1fc9389d9845ee5ea91459f2612e;hp=245798e6f18add5fb766cfa378460f2a2a65f804 increase default timeout to 10 seconds --- diff --git a/Changes b/Changes index 23fcd5c..53c498b 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,4 @@ + - Increase default timeout to 10 seconds - Add Class::C3 as a dependency since it's required for 5.8 remote nodes - SSH options as a separate argument for the SSH connector diff --git a/lib/Object/Remote/Role/Connector.pm b/lib/Object/Remote/Role/Connector.pm index 2f89d27..6da4a9c 100644 --- a/lib/Object/Remote/Role/Connector.pm +++ b/lib/Object/Remote/Role/Connector.pm @@ -6,7 +6,7 @@ use Moo::Role; requires '_open2_for'; -has timeout => (is => 'ro', default => sub { { after => 5 } }); +has timeout => (is => 'ro', default => sub { { after => 10 } }); sub connect { my $self = shift;