summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_disk_queue.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rabbit_disk_queue.erl b/src/rabbit_disk_queue.erl
index 5aae2298e8..90713723b4 100644
--- a/src/rabbit_disk_queue.erl
+++ b/src/rabbit_disk_queue.erl
@@ -317,6 +317,9 @@ init([FileSizeLimit, ReadFileHandlesLimit]) ->
{max_no_slots, 1024*1024*1024},
{type, set}
]),
+
+ %% it would be better to have this as private, but dets:from_ets/2
+ %% seems to blow up if it is set private
MsgLocationEts = ets:new(?MSG_LOC_NAME, [set, protected]),
State =
#dqstate { msg_location_dets = MsgLocationDets,