summary refs log tree commit diff
path: root/synapse/handlers/events.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@element.io>2024-01-10 14:42:13 +0000
committerGitHub <noreply@github.com>2024-01-10 14:42:13 +0000
commit0a96fa52a214d0cc707dbdf9693118ceddbfc150 (patch)
tree1c1f8e9caab6bdbc040050d27227d0163bf4c8a3 /synapse/handlers/events.py
parentBump anyhow from 1.0.75 to 1.0.79 (#16789) (diff)
downloadsynapse-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