summaryrefslogtreecommitdiff
path: root/src/shaper.erl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-04-21 12:27:15 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2017-04-21 12:27:15 +0300
commit02790b105e66181c7c2089bac2d9df2615558cc3 (patch)
tree9cbd6392a7225f4f22fc31e79fbd1623a29b749d /src/shaper.erl
parentUse new cache API in mod_shared_roster_ldap (diff)
Speedup Mnesia tables initialization
Diffstat (limited to 'src/shaper.erl')
-rw-r--r--src/shaper.erl1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/shaper.erl b/src/shaper.erl
index cc1923f8..b4db6458 100644
--- a/src/shaper.erl
+++ b/src/shaper.erl
@@ -62,7 +62,6 @@ init([]) ->
[{ram_copies, [node()]},
{local_content, true},
{attributes, record_info(fields, shaper)}]),
- mnesia:add_table_copy(shaper, node(), ram_copies),
ejabberd_hooks:add(config_reloaded, ?MODULE, load_from_config, 20),
load_from_config(),
{ok, #state{}}.