diff options
| author | Robin Edwards <robin.ge@gmail.com> | 2010-11-09 10:01:13 +0000 |
|---|---|---|
| committer | franck cuny <franck@lumberjaph.net> | 2010-11-25 11:00:50 +0100 |
| commit | 7bc76383dec104ac3308f28228ebc3ed29f5f001 (patch) | |
| tree | 6c944f73acb868401e127edf9c8438bcbf495e5c /lib/Net/Riak/Client.pm | |
| parent | added expected status message (diff) | |
| download | net-riak-7bc76383dec104ac3308f28228ebc3ed29f5f001.tar.gz | |
added useragent timeout parameter
Diffstat (limited to 'lib/Net/Riak/Client.pm')
| -rw-r--r-- | lib/Net/Riak/Client.pm | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
