Amazon-DynamoDB
view release on metacpan or search on metacpan
Don't encode undefined values part of PutRequests in
batch_write_item. This matches the behavior of put_item.
Change: f9569f2a976276cf0c89077a213e009762d59083
Author: Rusty Conover <rusty@luckydinosaur.com>
Date : 2014-04-24 09:32:11 +0000
Set a timeout of 90 seconds for DynamoDB to reply, should normally be
much faster than this.
Also set the keep_alive maximum socket count to a number larger than
one, and use a proper User Agent identifier.
Change: 2e469174ffcb20545040d3cd46e368447b3c8679
Author: Rusty Conover <rusty@luckydinosaur.com>
Date : 2014-04-22 17:12:45 +0000
Fix problem with versions being included, cut 0.07
Change: b6d32ed2be5038e63e87ce82ec2b0456a1c59f52
Author: Rusty Conover <rusty@luckydinosaur.com>
lib/Amazon/DynamoDB/LWP.pm view on Meta::CPAN
# print "Sending : " . $req->as_string() . "\n\n";
my $resp = $self->ua->request($req);
# print "Got back: " . $resp->as_string() . "\n\n";
return Future->new->done($resp->decoded_content) if $resp->is_success;
my $status = join ' ', $resp->code, $resp->message;
return Future->new->fail($status, $resp, $req)
}
sub ua { shift->{ua} ||= LWP::UserAgent->new(keep_alive => 10,
agent => 'Amazon::DynamoDB/1.0',
timeout => 90,
); }
sub delay {
my $self = shift;
my $amount = shift;
( run in 1.105 second using v1.01-cache-2.11-cpan-df04353d9ac )