summary refs log tree commit diff
path: root/mypy.ini
diff options
context:
space:
mode:
authorSean Quah <8349537+squahtx@users.noreply.github.com>2023-05-22 13:25:39 +0100
committerGitHub <noreply@github.com>2023-05-22 13:25:39 +0100
commitcc53c96bf813045c08593d4996deb57915fbb0e5 (patch)
tree2ad58528cde5269f2d52872b90f77f826e03159a /mypy.ini
parentBump furo from 2023.3.27 to 2023.5.20 (#15642) (diff)
downloadsynapse-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 'mypy.ini')
0 files changed, 0 insertions, 0 deletions