mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00: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>
1 line
102 B
Text
1 line
102 B
Text
Fix a bug introduced in Synapse 1.67.0 where two logging context warnings would be logged on startup.
|