From de67fa6adc9effe52ae19ec6d45bbae2aa84e010 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Sat, 7 Feb 2015 22:37:07 +0100 Subject: [PATCH] mod_mam: Check fragment sizes when removing user Check whether the number of Mnesia table fragments can be reduced when a MAM user was removed. --- mod_mam/src/mod_mam.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod_mam/src/mod_mam.erl b/mod_mam/src/mod_mam.erl index e90724f..4a76a6c 100644 --- a/mod_mam/src/mod_mam.erl +++ b/mod_mam/src/mod_mam.erl @@ -1256,4 +1256,4 @@ remove_user(LUser, LServer, mnesia) -> end end, {atomic, ok} = mnesia:transaction(Remove), - ok. + manage_mnesia_fragments(true).