mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-26 17:19:23 -05:00
1fb9a2d0bf
Synapse can be quite memory intensive, and unless care is taken to tune the GC thresholds it can end up thrashing, causing noticable performance problems for large servers. We fix this by limiting how often we GC a given generation, regardless of current counts/thresholds. This does not help with the reverse problem where the thresholds are set too high, but that should only happen in situations where they've been manually configured. Adds a `gc_min_seconds_between` config option to override the defaults. Fixes #9890. |
||
---|---|---|
.. | ||
__init__.py | ||
_exposition.py | ||
background_process_metrics.py |