forked-synapse/synapse/replication/tcp/streams
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
..
__init__.py Improve type checking in replication.tcp.Stream (#7291) 2020-04-17 14:49:55 +01:00
_base.py Make it clear that the limit for an update_function is a target 2020-04-23 15:45:12 +01:00
events.py Fix EventsStream raising assertions when it falls behind 2020-04-24 13:59:21 +01:00
federation.py Improve type checking in replication.tcp.Stream (#7291) 2020-04-17 14:49:55 +01:00