summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2009-04-10 23:21:54 +0100
committerMatthew Sackman <matthew@lshift.net>2009-04-10 23:21:54 +0100
commit1882d139375274368a3ab2bffe3695c2d3f5c9bc (patch)
tree7049339ef125498a3e025507dd30b9e8829bd16d /Makefile
parenta5e21a259e46557fc6d405fe38ce4685726d72e4 (diff)
downloadrabbitmq-server-git-1882d139375274368a3ab2bffe3695c2d3f5c9bc.tar.gz
did some profiling and brought out an mnesia lock much earlier.
This means that for large commits, the resulting mnesia transaction is _much_ faster. also fixed makefile so that cleandb wipes out disk_queue too
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 47aa586c8c..b7464244c2 100644
--- a/Makefile
+++ b/Makefile
@@ -69,7 +69,7 @@ clean: cleandb
rm -f docs/*.[0-9].gz
cleandb: stop-node
- erl -mnesia dir '"$(RABBITMQ_MNESIA_DIR)"' -noshell -eval 'lists:foreach(fun file:delete/1, filelib:wildcard(mnesia:system_info(directory) ++ "/*")), halt().'
+ erl -mnesia dir '"$(RABBITMQ_MNESIA_DIR)"' -noshell -eval 'lists:foreach(fun file:delete/1, filelib:wildcard(mnesia:system_info(directory) ++ "/*") ++ filelib:wildcard(filename:join(mnesia:system_info(directory), "rabbit_disk_queue/*"))), halt().'
############ various tasks to interact with RabbitMQ ###################