]> granicus.if.org Git - ejabberd/commit
mod_push_sql: Check 'max_user_sessions' limit
authorHolger Weiss <holger@zedat.fu-berlin.de>
Wed, 23 May 2018 18:02:52 +0000 (20:02 +0200)
committerHolger Weiss <holger@zedat.fu-berlin.de>
Wed, 23 May 2018 18:02:52 +0000 (20:02 +0200)
commit508f3ef88d1ddd4c18c3d618ad405dc0b3769f83
tree56da8701024ab9483029a3790a93a83e7d88acfd
parent97f7d990075bd84931595cd5027632c40ddc8da9
mod_push_sql: Check 'max_user_sessions' limit

Remove the oldest push session(s) of a user if the number of enabled
sessions exceeds the 'max_user_sessions' limit.
src/mod_push_sql.erl