diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-10-23 07:37:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-23 07:37:45 -0400 |
commit | 12ca87f5eac06450abaf024e5f4906147d5322e3 (patch) | |
tree | ea7bd5fbe88370ea079b1ace9c565e420988c56d /synapse/storage/databases/main/events_worker.py | |
parent | Bump matrix-synapse-ldap3 from 0.2.2 to 0.3.0 (#16539) (diff) | |
download | synapse-12ca87f5eac06450abaf024e5f4906147d5322e3.tar.xz |
Remove the last reference to event_txn_id. (#16521)
This table was no longer used, except for a background process which purged old entries in it.
Diffstat (limited to 'synapse/storage/databases/main/events_worker.py')
-rw-r--r-- | synapse/storage/databases/main/events_worker.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/synapse/storage/databases/main/events_worker.py b/synapse/storage/databases/main/events_worker.py index 8af638d60f..5bf864c1fb 100644 --- a/synapse/storage/databases/main/events_worker.py +++ b/synapse/storage/databases/main/events_worker.py @@ -2096,12 +2096,6 @@ class EventsWorkerStore(SQLBaseStore): def _cleanup_old_transaction_ids_txn(txn: LoggingTransaction) -> None: one_day_ago = self._clock.time_msec() - 24 * 60 * 60 * 1000 sql = """ - DELETE FROM event_txn_id - WHERE inserted_ts < ? - """ - txn.execute(sql, (one_day_ago,)) - - sql = """ DELETE FROM event_txn_id_device_id WHERE inserted_ts < ? """ |