-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
only cleanup orphaned shared daily #43605
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
Conversation
Signed-off-by: Robin Appelman <[email protected]>
6714fd0 to
0b8f0d0
Compare
joshtrichards
left a comment
There was a problem hiding this 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.
|
/backport to stable28 |
|
/backport to stable27 |
|
/backport to stable26 |
|
I've seen with Nextcloud 31, cron task does not remove orphan shares. |
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