Skip to content

Commit

Permalink
Fix typo and formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Premwoik committed Sep 2, 2021
1 parent 4b5075f commit 4e120e9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions doc/migrations/4.2.0_5.0.0.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## DB migrations

The migrations scripts for Postgres, MySQL, MSSQL can be found in the [`priv/migrations`](../../priv/migrations/) directory. Please remember to Provide the existing server domain for the `server` column instead of the localhost.
The migrations scripts for Postgres, MySQL, MSSQL can be found in the [`priv/migrations`](../../priv/migrations/) directory. Please remember to provide the existing server domain for the `server` column instead of the localhost.

### Changes in XEPs:
- `mod_last`
Expand All @@ -26,8 +26,7 @@ The migrations scripts for Postgres, MySQL, MSSQL can be found in the [`priv/mig

## Hook migrations

- `filter_room_packet` hook uses a map instead of a proplist
for the event data information.
- `filter_room_packet` hook uses a map instead of a proplist for the event data information.
- `room_send_packet` hook has been removed. Use `filter_room_packet` instead.
- `filter_room_packet` is called for HostType (was for MucHost).
- `forget_room` is called for HostType (was for MucHost).
Expand All @@ -53,7 +52,6 @@ or metrics reporters as described in [Logging and monitoring](../operation-and-m
In each endpoint, `host` has been changed to `host_type`.
This is because the metrics are now collected per host type rather than host.


## Users cache

MongooseIM used to feature a cache to check whether a user exists, that was unavoidably enabled, and had no eviction policy, that is, the cache could continue growing forever. Now, MIM features a module called [`mod_cache_users`](../modules/mod_cache_users) that implements a configurable cache policy, that can be enabled, disabled, and parametrised, per `host_type`. This might not be enabled by default in your configuration, so we recommend you verify your configuration and enable it if needed.

0 comments on commit 4e120e9

Please sign in to comment.