Skip to content

Conversation

@icewind1991
Copy link
Member

Since we filter out the shares with no matching files when loading them already there is no real downsides to leaving them in the db a bit longer.

Reducing the interval should decrease the db load a bit

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Feb 15, 2024
@icewind1991 icewind1991 added this to the Nextcloud 29 milestone Feb 15, 2024
@icewind1991 icewind1991 requested review from a team, ArtificialOwl, nfebe, nickvergessen and sorbaugh and removed request for a team February 15, 2024 15:53
Copy link
Member

@joshtrichards joshtrichards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we filter out the shares with no matching files when loading them already

You had me at this. :-)
Makes sense.

@skjnldsv skjnldsv merged commit d541a7d into master Feb 23, 2024
@skjnldsv skjnldsv deleted the orphan-share-daily branch February 23, 2024 18:43
@juliusknorr
Copy link
Member

/backport to stable28

@juliusknorr
Copy link
Member

/backport to stable27

@juliusknorr
Copy link
Member

/backport to stable26

@narcisgarcia
Copy link

I've seen with Nextcloud 31, cron task does not remove orphan shares.
In my case it was a reshared External storage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants