diff options
| author | franck cuny <franck@lumberjaph.net> | 2010-09-13 08:46:49 +0200 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-09-13 11:49:06 +0200 |
| commit | 6105249d575a50308f04e4c8e469f9536f34ab1d (patch) | |
| tree | 09435d28f55bc634d6c8a6c4d9739b7dbbf709b8 /lib/Net | |
| parent | add unit test for stream/callback functionality (diff) | |
| download | net-riak-6105249d575a50308f04e4c8e469f9536f34ab1d.tar.gz | |
remove the 3s timeout
Diffstat (limited to 'lib/Net')
| -rw-r--r-- | lib/Net/Riak/Role/UserAgent.pm | 7 |
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; } ); |
