Skip to content

Commit

Permalink
Update docs to bump libjemalloc version on latest debian; correct "pu…
Browse files Browse the repository at this point in the history
…sh_rules" stream name (#17171)
  • Loading branch information
ll-SKY-ll authored May 9, 2024
1 parent ef7e040 commit 4cf4a82
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions changelog.d/17171.doc
Original file line number Diff line number Diff line change
@@ -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.
4 changes: 2 additions & 2 deletions docs/usage/administration/admin_faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docs/workers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/

Expand Down

0 comments on commit 4cf4a82

Please sign in to comment.