Skip to content

Commit

Permalink
Merge pull request #4388 from esl/muc-docs-fix
Browse files Browse the repository at this point in the history
Fix list rendering in MUC docs
  • Loading branch information
chrzaszcz authored Oct 29, 2024
2 parents 80d910c + 8d80b6d commit 8980ead
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/modules/mod_muc.md
Original file line number Diff line number Diff line change
Expand Up @@ -436,16 +436,17 @@ To address that problem MongooseIM has 2 levels of MUC rooms memory optimisation

### Room's process hibernation

By default the room's process is hibernated by the Erlang VM 90 seconds after the last activity.
By default, the room's process is hibernated by the Erlang VM 90 seconds after the last activity.
This timeout can be modified by `hibernate_timeout` option.

### Room deep hibernation

MongooseIM introduces an additional option of deep hibernation for unused rooms.
This optimisation works only for persistent rooms as only these can be restored on demand.
The improvement works as follows:

1. All room processes are traversed at a chosen `hibernated_room_check_interval`.
1. If a `hibernated_room_timeout` is exceeded, a "stop" signal is sent to a unused room.
1. If a `hibernated_room_timeout` is exceeded, a "stop" signal is sent to an unused room.
1. The room's process is stopped only if there are no online users or if the only one is its owner.
If the owner is online, a presence of a type unavailable is sent to it indicating that the room's process is being terminated.

Expand Down

0 comments on commit 8980ead

Please sign in to comment.