Permalink
Browse files

Merge pull request #54 from b/BUG-1107

Change default to disable Nagle on HTTP sockets
  • Loading branch information...
2 parents 244b83d + 08a9167 commit 30e8c2da9ffa8a4af79556b4f6ee03d09bc402fd @seancribbs seancribbs committed May 22, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 ebin/riak_core.app
  2. +1 −1 src/riak_core_web.erl
View
@@ -111,7 +111,7 @@
{handoff_concurrency, 1},
%% Disable Nagle on HTTP sockets
- {disable_http_nagle, false},
+ {disable_http_nagle, true},
%% Handoff IP/port
{handoff_port, 8099},
View
@@ -72,7 +72,7 @@ binding_config(Scheme, Binding) ->
spec_from_binding(http, Name, Binding) ->
{Ip, Port} = Binding,
- NoDelay = app_helper:get_env(riak_core, disable_http_nagle, false),
+ NoDelay = app_helper:get_env(riak_core, disable_http_nagle, true),
lists:flatten([{name, Name},
{ip, Ip},
{port, Port},

0 comments on commit 30e8c2d

Please sign in to comment.