Skip to content

Commit

Permalink
Merge branch '1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
rzezeski committed Dec 15, 2011
2 parents 787ac57 + f8c6f0f commit c6a502c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ebin/riak_core.app
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
{vnode_inactivity_timeout, 60000},

%% Number of VNodes allowed to do handoff concurrently.
{handoff_concurrency, 4},
{handoff_concurrency, 1},

%% Disable Nagle on HTTP sockets
{disable_http_nagle, false},
Expand Down
2 changes: 1 addition & 1 deletion src/riak_core_handoff_manager.erl
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ get_exclusions(Module) ->
gen_server:call(?MODULE, {get_exclusions, Module}, infinity).

get_handoff_lock(LockId) ->
TokenCount = app_helper:get_env(riak_core, handoff_concurrency, 4),
TokenCount = app_helper:get_env(riak_core, handoff_concurrency, 1),
get_handoff_lock(LockId, TokenCount).

get_handoff_lock(_LockId, 0) ->
Expand Down

0 comments on commit c6a502c

Please sign in to comment.