mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 01:39:35 +02:00
Add code for hibernating inactive muc_room processes
This commit is contained in:
parent
4d877289fb
commit
6b3d0d154e
4 changed files with 96 additions and 24 deletions
|
@ -118,7 +118,8 @@
|
|||
just_created = erlang:system_time(microsecond) :: true | integer(),
|
||||
activity = treap:empty() :: treap:treap(),
|
||||
room_shaper = none :: ejabberd_shaper:shaper(),
|
||||
room_queue :: p1_queue:queue({message | presence, jid()}) | undefined
|
||||
room_queue :: p1_queue:queue({message | presence, jid()}) | undefined,
|
||||
hibernate_timer = none :: reference() | none | hibernating
|
||||
}).
|
||||
|
||||
-type users() :: #{ljid() => #user{}}.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue