diff options
author | Erik Johnston <erikj@element.io> | 2024-01-10 14:42:13 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-10 14:42:13 +0000 |
commit | 0a96fa52a214d0cc707dbdf9693118ceddbfc150 (patch) | |
tree | 1c1f8e9caab6bdbc040050d27227d0163bf4c8a3 /synapse/handlers/events.py | |
parent | Bump anyhow from 1.0.75 to 1.0.79 (#16789) (diff) | |
download | synapse-0a96fa52a214d0cc707dbdf9693118ceddbfc150.tar.xz |
Pull less state out if we fail to backfill (#16788)
Sometimes we fail to fetch events during backfill due to missing state, and we often end up querying the same bad events periodically (as people backpaginate). In such cases its likely we will continue to fail to get the state, and therefore we should try *before* loading the state that we have from the DB (as otherwise it's wasted DB and memory). --------- Co-authored-by: reivilibre <oliverw@matrix.org>
Diffstat (limited to 'synapse/handlers/events.py')
0 files changed, 0 insertions, 0 deletions