summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2010-05-10 19:12:00 +0100
committerMatthias Radestock <matthias@lshift.net>2010-05-10 19:12:00 +0100
commit0909e6d20ee72fcfb8c57d24f8ef90151be8904b (patch)
tree43b7a7e26cd97de039a5e2124ccba2be68b21709 /src
parent750515bccec0f7cd0da60ae70572af9bde248b7e (diff)
downloadrabbitmq-server-git-0909e6d20ee72fcfb8c57d24f8ef90151be8904b.tar.gz
nitpick
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_msg_store.erl2
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' ->