Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove addressed TODOs

  • Loading branch information...
commit 658af84bab0daf2250b5b6654ef47dafd41edd96 1 parent 6368585
@jrwest jrwest authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  src/riak_core_bg_manager.erl
View
3  src/riak_core_bg_manager.erl
@@ -358,7 +358,6 @@ enable_lock(LockType, State) ->
update_lock_enabled(LockType, true, State).
disable_lock(LockType, State) ->
- %% TODO: should we also kill all processes that hold the lock/release all locks?
update_lock_enabled(LockType, false, State).
update_lock_enabled(LockType, Value, State) ->
@@ -368,8 +367,6 @@ update_lock_enabled(LockType, Value, State) ->
State).
update_concurrency_limit(LockType, Limit, State) ->
- %% TODO: if Limit < Number of Currently held locks, should we kill # Held - Limit
- %% processes and release their locks
update_lock_info(LockType,
fun(LockInfo) -> LockInfo#lock_info{concurrency_limit=Limit} end,
?DEFAULT_LOCK_INFO#lock_info{concurrency_limit=Limit},
Please sign in to comment.
Something went wrong with that request. Please try again.