mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-21 17:15:38 +03:00
c5e89f5fae
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.
1 line
142 B
Gherkin
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.
|