From 7bc76383dec104ac3308f28228ebc3ed29f5f001 Mon Sep 17 00:00:00 2001 From: Robin Edwards Date: Tue, 9 Nov 2010 10:01:13 +0000 Subject: added useragent timeout parameter --- lib/Net/Riak/Client.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lib/Net/Riak/Client.pm') diff --git a/lib/Net/Riak/Client.pm b/lib/Net/Riak/Client.pm index dbe3c16..4d14338 100644 --- a/lib/Net/Riak/Client.pm +++ b/lib/Net/Riak/Client.pm @@ -38,6 +38,12 @@ has http_response => ( handles => ['is_success'] ); +has ua_timeout => ( + is => 'rw', + isa => 'Int', + default => 3 +); + with 'Net::Riak::Role::UserAgent'; with qw/ Net::Riak::Role::REST -- cgit v1.2.3