forked-synapse/synapse/storage/data_stores
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
..
main Fix EventsStream raising assertions when it falls behind 2020-04-24 13:59:21 +01:00
state Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
__init__.py Modify check_database to take a connection rather than a cursor 2020-01-09 18:05:50 +00:00