Skip to content

Conversation

@tcitworld
Copy link
Member

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

$this->setTimeSensitivity(IJob::TIME_INSENSITIVE);

if #30945 is merged first.

@miaulalala
Copy link
Contributor

Looks good, but code scanning is complaining a bit :)

@nickvergessen
Copy link
Member

if #30945 is merged first.

It's merged

@tcitworld tcitworld added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Mar 2, 2022
@skjnldsv skjnldsv mentioned this pull request Mar 24, 2022
@tcitworld tcitworld force-pushed the prune-calendar-changes branch from d015e6c to 445a8f0 Compare March 24, 2022 17:19
@blizzz blizzz mentioned this pull request Mar 31, 2022
@tcitworld tcitworld force-pushed the prune-calendar-changes branch from 445a8f0 to cb7a189 Compare March 31, 2022 08:02
This was referenced Apr 7, 2022
@blizzz blizzz modified the milestones: Nextcloud 24, Nextcloud 25 Apr 21, 2022
This was referenced Aug 12, 2022
@blizzz blizzz mentioned this pull request Aug 24, 2022
@tcitworld tcitworld force-pushed the prune-calendar-changes branch from cb7a189 to 9898a0f Compare August 25, 2022 09:30
$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
@blizzz blizzz mentioned this pull request Aug 30, 2022
This was referenced Sep 6, 2022
@skjnldsv skjnldsv mentioned this pull request Sep 15, 2022
This was referenced Sep 20, 2022
@blizzz blizzz modified the milestones: Nextcloud 25, Nextcloud 26 Sep 22, 2022
@tcitworld tcitworld force-pushed the prune-calendar-changes branch from 9898a0f to 8baac0d Compare October 2, 2022 10:08
@tcitworld tcitworld added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Oct 2, 2022
@szaimen
Copy link
Contributor

szaimen commented Oct 27, 2022

/rebase

@szaimen szaimen enabled auto-merge October 27, 2022 20:08
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 <[email protected]>
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 🚀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

oc_calendarchanges in MySQL is very big

7 participants