diff options
| author | Matthias Radestock <matthias@lshift.net> | 2010-05-10 19:12:00 +0100 |
|---|---|---|
| committer | Matthias Radestock <matthias@lshift.net> | 2010-05-10 19:12:00 +0100 |
| commit | 0909e6d20ee72fcfb8c57d24f8ef90151be8904b (patch) | |
| tree | 43b7a7e26cd97de039a5e2124ccba2be68b21709 | |
| parent | 750515bccec0f7cd0da60ae70572af9bde248b7e (diff) | |
| download | rabbitmq-server-git-0909e6d20ee72fcfb8c57d24f8ef90151be8904b.tar.gz | |
nitpick
| -rw-r--r-- | src/rabbit_msg_store.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_msg_store.erl b/src/rabbit_msg_store.erl index af711a6038..ed7b55f243 100644 --- a/src/rabbit_msg_store.erl +++ b/src/rabbit_msg_store.erl @@ -1438,7 +1438,7 @@ maybe_compact(State = #msstate { sum_valid_data = SumValid, gc_active = false, gc_pid = GCPid, file_summary_ets = FileSummaryEts }) - when SumFileSize > 3 * ?FILE_SIZE_LIMIT andalso + when SumFileSize >= 3 * ?FILE_SIZE_LIMIT andalso (SumFileSize - SumValid) / SumFileSize > ?GARBAGE_FRACTION -> case ets:first(FileSummaryEts) of '$end_of_table' -> |
