Skip to content

Commit

Permalink
Merge pull request #10 from SemanticSugar/ten-k-max-conns
Browse files Browse the repository at this point in the history
Update max connections count and dependencies.
  • Loading branch information
jesse-lauro committed Nov 25, 2014
2 parents 7468b0e + 7ce119d commit 7267546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dynamodb.erl
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ call(AccessKeyId, SecretAccessKey, Zone, Target, Token, RFCDate, Body, Timeout)
-spec submit(endpoint(), headers(), any(), integer()) -> result().
submit(Endpoint, Headers, Body, Timeout) ->
%io:format("Request:~nHeaders:~p~nBody:~n~p~n~n", [Headers, iolist_to_binary(Body)]),
case lhttpc:request(Endpoint, "POST", Headers, Body, Timeout, [{max_connections, 5000}]) of
case lhttpc:request(Endpoint, "POST", Headers, Body, Timeout, [{max_connections, 10000}]) of
{ok, {{200, _}, _Headers, Response}} ->
%io:format("Response: ~p~n", [Response]),
{ok, Response};
Expand Down

0 comments on commit 7267546

Please sign in to comment.