synapse-product/synapse/storage
Richard van der Hoff ce428a1abe Fix EventsStream raising assertions when it falls behind
Figuring out how to correctly limit updates from this stream without dropping
entries is far more complicated than just counting the number of rows being
returned. We need to consider each query separately and, if any one query hits
the limit, truncate the results from the others.

I think this also fixes some potentially long-standing bugs where events or
state changes could get missed if we hit the limit on either query.
2020-04-24 13:59:21 +01:00
..
data_stores Fix EventsStream raising assertions when it falls behind 2020-04-24 13:59:21 +01:00
engines
schema
util
__init__.py
_base.py
background_updates.py
database.py
keys.py
persist_events.py
prepare_database.py
presence.py
purge_events.py
push_rule.py
relations.py
roommember.py
state.py
types.py