diff options
| author | Matthew Sackman <matthew@lshift.net> | 2010-01-13 19:40:46 +0000 |
|---|---|---|
| committer | Matthew Sackman <matthew@lshift.net> | 2010-01-13 19:40:46 +0000 |
| commit | 6bf6e7a2e39d7484307ac5cd664c6547a0367b3f (patch) | |
| tree | 046ed30d10ac92927832c7e6a38779da2693aca3 | |
| parent | 24add8edcbeddbdfc5e0998e964984ee72e7c8c6 (diff) | |
| download | rabbitmq-server-git-6bf6e7a2e39d7484307ac5cd664c6547a0367b3f.tar.gz | |
Forgot to remove an io:format
| -rw-r--r-- | src/rabbit_variable_queue.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rabbit_variable_queue.erl b/src/rabbit_variable_queue.erl index e821cf6b72..6c5efbd5f8 100644 --- a/src/rabbit_variable_queue.erl +++ b/src/rabbit_variable_queue.erl @@ -78,7 +78,7 @@ index_on_disk }). --define(RAM_INDEX_TARGET_RATIO, 1024). +-define(RAM_INDEX_TARGET_RATIO, 256). -define(RAM_INDEX_MAX_WORK, 32). %%---------------------------------------------------------------------------- @@ -878,7 +878,6 @@ limit_ram_index(State = #vqstate { ram_index_count = RamIndexCount, Reduction = lists:min([?RAM_INDEX_MAX_WORK, RamIndexCount - (?RAM_INDEX_TARGET_RATIO * TargetRamMsgCount)]), - io:format("~p~n", [Reduction]), {Reduction1, State1} = limit_q2_ram_index(Reduction, State), {_Reduction2, State2} = limit_q3_ram_index(Reduction1, State1), State2; |
