diff options
author | ll-SKY-ll <140309860+ll-SKY-ll@users.noreply.github.com> | 2024-05-09 12:50:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-09 10:50:05 +0000 |
commit | 4cf4a8281b822017527969d7b5077dfc5f7f0b39 (patch) | |
tree | 22b491e6ad88ac37b1602bff46158b5cde10790d | |
parent | Bump black from 24.2.0 to 24.4.2 (#17170) (diff) | |
download | synapse-4cf4a8281b822017527969d7b5077dfc5f7f0b39.tar.xz |
Update docs to bump libjemalloc version on latest debian; correct "push_rules" stream name (#17171)
-rw-r--r-- | changelog.d/17171.doc | 1 | ||||
-rw-r--r-- | docs/usage/administration/admin_faq.md | 4 | ||||
-rw-r--r-- | docs/workers.md | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/changelog.d/17171.doc b/changelog.d/17171.doc new file mode 100644 index 0000000000..ef9f14ac7e --- /dev/null +++ b/changelog.d/17171.doc @@ -0,0 +1 @@ +Update the Admin FAQ with the current libjemalloc version for latest Debian stable. Additionally update the name of the "push_rules" stream in the Workers documentation. diff --git a/docs/usage/administration/admin_faq.md b/docs/usage/administration/admin_faq.md index 0d98f73fb1..a1184d0375 100644 --- a/docs/usage/administration/admin_faq.md +++ b/docs/usage/administration/admin_faq.md @@ -250,10 +250,10 @@ Using [libjemalloc](https://jemalloc.net) can also yield a significant improvement in overall memory use, and especially in terms of giving back RAM to the OS. To use it, the library must simply be put in the LD_PRELOAD environment variable when launching Synapse. On Debian, this -can be done by installing the `libjemalloc1` package and adding this +can be done by installing the `libjemalloc2` package and adding this line to `/etc/default/matrix-synapse`: - LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1 + LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2 This made a significant difference on Python 2.7 - it's unclear how much of an improvement it provides on Python 3.x. diff --git a/docs/workers.md b/docs/workers.md index 82f4bfc1d1..6cb4416bfc 100644 --- a/docs/workers.md +++ b/docs/workers.md @@ -535,7 +535,7 @@ the stream writer for the `presence` stream: ##### The `push_rules` stream The following endpoints should be routed directly to the worker configured as -the stream writer for the `push` stream: +the stream writer for the `push_rules` stream: ^/_matrix/client/(api/v1|r0|v3|unstable)/pushrules/ |