diff options
author | David Baker <dave@matrix.org> | 2016-05-20 17:56:10 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-05-20 17:56:10 +0100 |
commit | d4503e25ed01b6053bd5bb503f858a2ab934e350 (patch) | |
tree | 41889b6c26c4c155b7cf28a6f0a087c90891acba /synapse/storage/directory.py | |
parent | Only delete push actions after 30 days (diff) | |
download | synapse-d4503e25ed01b6053bd5bb503f858a2ab934e350.tar.xz |
Make deleting push actions more efficient
There's no index on received_ts, so manually binary search using the stream_ordering index, and only update it once an hour.
Diffstat (limited to 'synapse/storage/directory.py')
0 files changed, 0 insertions, 0 deletions