Skip to content

Commit 4cf4a82

Browse files
authored
Update docs to bump libjemalloc version on latest debian; correct "push_rules" stream name (#17171)
1 parent ef7e040 commit 4cf4a82

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

changelog.d/17171.doc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
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.

docs/usage/administration/admin_faq.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -250,10 +250,10 @@ Using [libjemalloc](https://jemalloc.net) can also yield a significant
250250
improvement in overall memory use, and especially in terms of giving back
251251
RAM to the OS. To use it, the library must simply be put in the
252252
LD_PRELOAD environment variable when launching Synapse. On Debian, this
253-
can be done by installing the `libjemalloc1` package and adding this
253+
can be done by installing the `libjemalloc2` package and adding this
254254
line to `/etc/default/matrix-synapse`:
255255

256-
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1
256+
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2
257257

258258
This made a significant difference on Python 2.7 - it's unclear how
259259
much of an improvement it provides on Python 3.x.

docs/workers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ the stream writer for the `presence` stream:
535535
##### The `push_rules` stream
536536

537537
The following endpoints should be routed directly to the worker configured as
538-
the stream writer for the `push` stream:
538+
the stream writer for the `push_rules` stream:
539539

540540
^/_matrix/client/(api/v1|r0|v3|unstable)/pushrules/
541541

0 commit comments

Comments
 (0)