summaryrefslogtreecommitdiff
path: root/src/rabbit_exchange.erl
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2009-01-26 11:47:50 +0000
committerMatthias Radestock <matthias@lshift.net>2009-01-26 11:47:50 +0000
commita0446d2ec2cf7b9fef2e5b5d2adc2b641cebae3a (patch)
tree554449232947d3303cfe343a32d0d1555896e31d /src/rabbit_exchange.erl
parent20b6f51d2e495d89fa4cd02772785a2f003bba50 (diff)
downloadrabbitmq-server-a0446d2ec2cf7b9fef2e5b5d2adc2b641cebae3a.tar.gz
more efficient lockingbug20193
Diffstat (limited to 'src/rabbit_exchange.erl')
-rw-r--r--src/rabbit_exchange.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_exchange.erl b/src/rabbit_exchange.erl
index b04a5b37..19efd9fc 100644
--- a/src/rabbit_exchange.erl
+++ b/src/rabbit_exchange.erl
@@ -309,7 +309,7 @@ delete_bindings_for_exchange(ExchangeName) ->
rabbit_route,
#route{binding = #binding{exchange_name = ExchangeName,
_ = '_'}},
- read)],
+ write)],
ok.
delete_bindings_for_queue(QueueName) ->