mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-24 02:39:23 -05:00
d56f48038a
`setup()` is run under the sentinel context manager, so we wrap the initial update in a background process. Before this change, Synapse would log two warnings on startup: Starting db txn 'count_daily_users' from sentinel context Starting db connection from sentinel context: metrics will be lost Signed-off-by: Sean Quah <seanq@matrix.org> |
||
---|---|---|
.. | ||
__init__.py | ||
_gc.py | ||
_reactor_metrics.py | ||
_twisted_exposition.py | ||
_types.py | ||
background_process_metrics.py | ||
common_usage_metrics.py | ||
jemalloc.py |