synapse/changelog.d/17934.feature
Richard van der Hoff c5e89f5fae
Create one-off scheduled task to delete old OTKs (#17934)
To work around the fact that,
pre-https://github.com/element-hq/synapse/pull/17903, our database may
have old one-time-keys that the clients have long thrown away the
private keys for, we want to delete OTKs that look like they came from
libolm.

To spread the load a bit, without holding up other background database
updates, we use a scheduled task to do the work.
2024-11-19 11:20:48 +00:00

1 line
142 B
Gherkin

Add a one-off task to delete old one-time-keys, to guard against us having old OTKs in the database that the client has long forgotten about.