diff options
author | Alexey Shchepin <alexey@process-one.net> | 2008-03-26 01:23:38 +0300 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2008-03-26 01:23:38 +0300 |
commit | 9b3926baf15c484608b9f687449f6cd78d50b20e (patch) | |
tree | 5e50bad2c56e5cc20522d8ad8c1f35cb585cf566 /src/ejabberd_local.erl | |
parent | 28c082551d38dccb42fe576a611d99f62c75b328 (diff) |
* src/ejabberd_local.erl: The iq_response table wasn't cloned
automatically on all nodes which resulted in a single point of
failure
SVN Revision: 1257
Diffstat (limited to 'src/ejabberd_local.erl')
-rw-r--r-- | src/ejabberd_local.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ejabberd_local.erl b/src/ejabberd_local.erl index 50e62ba55..b54173581 100644 --- a/src/ejabberd_local.erl +++ b/src/ejabberd_local.erl @@ -171,6 +171,7 @@ init([]) -> mnesia:create_table(iq_response, [{ram_copies, [node()]}, {attributes, record_info(fields, iq_response)}]), + mnesia:add_table_copy(iq_response, node(), ram_copies), {ok, #state{}}. %%-------------------------------------------------------------------- |