diff options
author | Thomas Citharel <tcit@tcit.fr> | 2022-10-02 12:07:51 +0200 |
---|---|---|
committer | Simon L. (Rebase PR Action) <szaimen@e.mail.de> | 2022-10-27 20:12:13 +0000 |
commit | 6f158733211749ca6d70858ee58ba35e85d46e81 (patch) | |
tree | 2648886b9c00d5278bee9514fbc7cb533e866303 /apps/dav/appinfo | |
parent | d007088cf5d89e29065991e0cbe2c890dfa13d96 (diff) | |
download | nextcloud-server-6f158733211749ca6d70858ee58ba35e85d46e81.tar.gz nextcloud-server-6f158733211749ca6d70858ee58ba35e85d46e81.zip |
Add a background job to prune outdated sync tokens
We remove all outdated sync tokens, based on their auto-incremented ID.
By default we only keep the last 10 000, but this can be configurable.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'apps/dav/appinfo')
-rw-r--r-- | apps/dav/appinfo/info.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/appinfo/info.xml b/apps/dav/appinfo/info.xml index 134481018a0..dd657564ea9 100644 --- a/apps/dav/appinfo/info.xml +++ b/apps/dav/appinfo/info.xml @@ -24,6 +24,7 @@ <job>OCA\DAV\BackgroundJob\CleanupInvitationTokenJob</job> <job>OCA\DAV\BackgroundJob\EventReminderJob</job> <job>OCA\DAV\BackgroundJob\CalendarRetentionJob</job> + <job>OCA\DAV\BackgroundJob\PruneOutdatedSyncTokensJob</job> </background-jobs> <repair-steps> |