diff options
author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2023-05-22 13:25:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-22 13:25:39 +0100 |
commit | cc53c96bf813045c08593d4996deb57915fbb0e5 (patch) | |
tree | 2ad58528cde5269f2d52872b90f77f826e03159a /changelog.d | |
parent | Bump furo from 2023.3.27 to 2023.5.20 (#15642) (diff) | |
download | synapse-cc53c96bf813045c08593d4996deb57915fbb0e5.tar.xz |
Limit the size of the `HomeServerConfig` cache in trial test runs (#15646)
...to try to control memory usage. `HomeServerConfig`s hold on to many Jinja2 objects, which come out to over 0.5 MiB per config. Over the course of a full test run, the cache grows to ~360 entries. Limit it to 8 entries. Part of #15622. Signed-off-by: Sean Quah <seanq@matrix.org>
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/15646.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/15646.misc b/changelog.d/15646.misc new file mode 100644 index 0000000000..872afe30b8 --- /dev/null +++ b/changelog.d/15646.misc @@ -0,0 +1 @@ +Limit the size of the `HomeServerConfig` cache in trial test runs. |