mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-23 12:59:48 -05:00
ce428a1abe
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. |
||
---|---|---|
.. | ||
data_stores | ||
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 |