Permalink
Browse files

Enabled keep alives, which speeds up requests.

  • Loading branch information...
1 parent d557ec3 commit a9775f8afd08dd75fa9fefd858f84e7a30dc5255 @rizen rizen committed Feb 9, 2010
Showing with 5 additions and 6 deletions.
  1. +3 −0 Changes
  2. +1 −1 dist.ini
  3. +1 −5 lib/SimpleDB/Class/HTTP.pm
View
@@ -1,3 +1,6 @@
+0.0803 2010-02-09
+ - Enabled keep alives, which speeds up requests.
+
0.0802 2010-01-28
- Fixed a couple problems with calling 'next tokens' on result sets.
- Added dependency on Clone.
View
@@ -1,5 +1,5 @@
name = SimpleDB-Class
-version = 0.0802
+version = 0.0803
author = JT Smith <RIZEN@cpan.org>
license = Perl_5
copyright_holder = Plain Black Corporation
@@ -108,11 +108,7 @@ Returns the L<LWP::UserAgent> object that is used to connect to SimpleDB. It's c
has user_agent => (
is => 'ro',
- default => sub {
- my $ua = LWP::UserAgent->new;
- $ua->timeout(30);
- return $ua;
- },
+ default => sub { LWP::UserAgent->new(timeout=>30, keep_alive=>1); },
);
#--------------------------------------------------------

0 comments on commit a9775f8

Please sign in to comment.