summary refs log tree commit diff
path: root/docker/start.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-10-01Use `received_ts` to find uncensored redacted eventsErik Johnston1-14/+7
Joining against `events` and ordering by `stream_ordering` is inefficient as it forced scanning the entirety of the redactions table. This isn't the case if we use `redactions.received_ts` column as we can then use an index.
2019-10-01Add received_ts column to redactions.Erik Johnston3-9/+92
This will allow us to efficiently search for uncensored redactions in the DB before a given time.