Skip to content

Commit

Permalink
Wait infinitely for compaction to finish
Browse files Browse the repository at this point in the history
If the server is very busy, we'll have to 
stop somewhere...
  • Loading branch information
krestenkrab committed Apr 27, 2011
1 parent 46fa8de commit 4b4f634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/riak_btree_backend_compactor.erl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ did_put(CompactorPID, BinKey, BinValue, BtIn) ->
gen_server:cast(CompactorPID, {did_put, BinKey, BinValue, BtIn}).

complete_compaction(CompactorPID, InFile) ->
gen_server:call(CompactorPID, {complete_compaction, self(), InFile}).
gen_server:call(CompactorPID, {complete_compaction, self(), InFile}, infinity).


init([SrvRef, BtIn, FileName]) ->
Expand Down

0 comments on commit 4b4f634

Please sign in to comment.