summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-09-13 08:46:49 +0200
committerfranck cuny <franck@lumberjaph.net>2010-09-13 11:49:06 +0200
commit6105249d575a50308f04e4c8e469f9536f34ab1d (patch)
tree09435d28f55bc634d6c8a6c4d9739b7dbbf709b8 /lib
parentadd unit test for stream/callback functionality (diff)
downloadnet-riak-6105249d575a50308f04e4c8e469f9536f34ab1d.tar.gz
remove the 3s timeout
Diffstat (limited to '')
-rw-r--r--lib/Net/Riak/Role/UserAgent.pm7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Net/Riak/Role/UserAgent.pm b/lib/Net/Riak/Role/UserAgent.pm
index ecc412f..123a378 100644
--- a/lib/Net/Riak/Role/UserAgent.pm
+++ b/lib/Net/Riak/Role/UserAgent.pm
@@ -6,9 +6,9 @@ use Moose::Role;
use LWP::UserAgent;
has useragent => (
- is => 'rw',
- isa => 'LWP::UserAgent',
- lazy => 1,
+ is => 'rw',
+ isa => 'LWP::UserAgent',
+ lazy => 1,
default => sub {
my $self = shift;
@@ -19,7 +19,6 @@ has useragent => (
@LWP::Protocol::http::EXTRA_SOCK_OPTS = %opts;
my $ua = LWP::UserAgent->new;
- $ua->timeout(3);
$ua;
}
);