mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-19 00:24:34 +01:00
Comment
This commit is contained in:
parent
2e67cabd7f
commit
a68807d426
1 changed files with 2 additions and 0 deletions
|
@ -393,6 +393,8 @@ class EventFederationStore(SQLBaseStore):
|
|||
|
||||
def _delete_old_forward_extrem_cache(self):
|
||||
def _delete_old_forward_extrem_cache_txn(txn):
|
||||
# Delete entries older than a month, while making sure we don't delete
|
||||
# the only entries for a room.
|
||||
sql = ("""
|
||||
DELETE FROM stream_ordering_to_exterm
|
||||
WHERE
|
||||
|
|
Loading…
Reference in a new issue