-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a background job to prune outdated sync tokens #31064
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tcitworld
added
3. to review
Waiting for reviews
feature: dav
performance 🚀
feature: caldav
Related to CalDAV internals
feature: carddav
Related to CardDAV internals
labels
Feb 7, 2022
tcitworld
requested review from
nickvergessen,
ChristophWurst,
juliusknorr and
miaulalala
February 7, 2022 19:31
Looks good, but code scanning is complaining a bit :) |
It's merged |
apps/dav/tests/unit/BackgroundJob/PruneOutdatedSyncTokensJobTest.php
Outdated
Show resolved
Hide resolved
tcitworld
added
2. developing
Work in progress
and removed
3. to review
Waiting for reviews
labels
Mar 2, 2022
Merged
tcitworld
force-pushed
the
prune-calendar-changes
branch
from
March 24, 2022 17:19
d015e6c
to
445a8f0
Compare
Merged
tcitworld
force-pushed
the
prune-calendar-changes
branch
from
March 31, 2022 08:02
445a8f0
to
cb7a189
Compare
Merged
tcitworld
force-pushed
the
prune-calendar-changes
branch
from
August 25, 2022 09:30
cb7a189
to
9898a0f
Compare
$this->setTimeSensitivity(self::TIME_INSENSITIVE); | ||
} | ||
|
||
public function run($argument) { |
Check notice
Code scanning / Psalm
MissingReturnType
Method OCA\DAV\BackgroundJob\PruneOutdatedSyncTokensJob::run does not have a return type, expecting void
$this->setTimeSensitivity(self::TIME_INSENSITIVE); | ||
} | ||
|
||
public function run($argument) { |
Check notice
Code scanning / Psalm
MissingParamType
Parameter $argument has no provided type
Merged
Merged
tcitworld
force-pushed
the
prune-calendar-changes
branch
from
October 2, 2022 10:08
9898a0f
to
8baac0d
Compare
tcitworld
added
3. to review
Waiting for reviews
and removed
2. developing
Work in progress
labels
Oct 2, 2022
ChristophWurst
approved these changes
Oct 2, 2022
miaulalala
approved these changes
Oct 27, 2022
/rebase |
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>
nextcloud-command
force-pushed
the
prune-calendar-changes
branch
from
October 27, 2022 20:12
8baac0d
to
6f15873
Compare
This was referenced Mar 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3. to review
Waiting for reviews
feature: caldav
Related to CalDAV internals
feature: carddav
Related to CardDAV internals
feature: dav
performance 🚀
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Closes #3349
We can add
if #30945 is merged first.