]> granicus.if.org Git - ejabberd/commit
ejabberd_sm: Clean up old offline session entries
authorHolger Weiss <holger@zedat.fu-berlin.de>
Sun, 2 Oct 2016 20:01:03 +0000 (22:01 +0200)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Sun, 2 Oct 2016 20:01:03 +0000 (22:01 +0200)
commit9cee3760db4f304d8354c33b641b84f5423e1a80
tree92e2df472ddb13d796d9186950fade34cdfefc88
parent15ebb791603aa32424111a5e3f95c6bdcdb9055f
ejabberd_sm: Clean up old offline session entries

If the number of offline sessions exceeds the 'max_user_sessions' limit,
remove the oldest entry from the table.
src/ejabberd_sm.erl