synapse/changelog.d/8447.bugfix
Erik Johnston 695240d34a
Fix DB query on startup for negative streams. (#8447)
For negative streams we have to negate the internal stream ID before
querying the DB.

The effect of this bug was to query far too many rows, slowing start up
time, but we would correctly filter the results afterwards so there was
no ill effect.
2020-10-02 12:22:19 +01:00

1 line
100 B
Text

Fix DB query on startup for negative streams which caused long start up times. Introduced in #8374.