File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -436,16 +436,17 @@ To address that problem MongooseIM has 2 levels of MUC rooms memory optimisation
436
436
437
437
### Room's process hibernation
438
438
439
- By default the room's process is hibernated by the Erlang VM 90 seconds after the last activity.
439
+ By default, the room's process is hibernated by the Erlang VM 90 seconds after the last activity.
440
440
This timeout can be modified by ` hibernate_timeout ` option.
441
441
442
442
### Room deep hibernation
443
443
444
444
MongooseIM introduces an additional option of deep hibernation for unused rooms.
445
445
This optimisation works only for persistent rooms as only these can be restored on demand.
446
446
The improvement works as follows:
447
+
447
448
1 . All room processes are traversed at a chosen ` hibernated_room_check_interval ` .
448
- 1 . If a ` hibernated_room_timeout ` is exceeded, a "stop" signal is sent to a unused room.
449
+ 1 . If a ` hibernated_room_timeout ` is exceeded, a "stop" signal is sent to an unused room.
449
450
1 . The room's process is stopped only if there are no online users or if the only one is its owner.
450
451
If the owner is online, a presence of a type unavailable is sent to it indicating that the room's process is being terminated.
451
452
You can’t perform that action at this time.
0 commit comments