summaryrefslogtreecommitdiff
path: root/src/rabbit_msg_store_index.erl
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2010-04-04 15:05:56 +0100
committerMatthew Sackman <matthew@lshift.net>2010-04-04 15:05:56 +0100
commitb95eea8c9f8fa6cdebbb1c2b4c732f0f751a570f (patch)
treedc112318dc45cbe52ec42ae58ed4b976b5a19d07 /src/rabbit_msg_store_index.erl
parent929368a4ce07fe082b827ca498614d5e475857df (diff)
downloadrabbitmq-server-b95eea8c9f8fa6cdebbb1c2b4c732f0f751a570f.tar.gz
Altered API of rabbit_msg_store_index so that terminate is mean to save out state too, and init can be asked to attempt to recover previously saved index
Diffstat (limited to 'src/rabbit_msg_store_index.erl')
-rw-r--r--src/rabbit_msg_store_index.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_msg_store_index.erl b/src/rabbit_msg_store_index.erl
index 42e06719..2c9de3fd 100644
--- a/src/rabbit_msg_store_index.erl
+++ b/src/rabbit_msg_store_index.erl
@@ -34,7 +34,7 @@
-export([behaviour_info/1]).
behaviour_info(callbacks) ->
- [{init, 1},
+ [{init, 2},
{lookup, 2},
{insert, 2},
{update, 2},