Skip to content

feat(RestApi): Trigger versioning cleanup every 10th app start to save resources#271

Merged
Catfriend1 merged 4 commits into
mainfrom
f1
May 22, 2026
Merged

feat(RestApi): Trigger versioning cleanup every 10th app start to save resources#271
Catfriend1 merged 4 commits into
mainfrom
f1

Conversation

@Catfriend1
Copy link
Copy Markdown
Collaborator

Before: triggered on every app start, potentially traversing large directory trees with Android's slow SAF or FS layer (especially on Android 11)
After: trigger every 10th app start so cleanup is not missed if the user occasionally and manually starts and exits the app

This will not (visibly) affect installs where Syncthing is configured to run continously with uptimes greater than the default cleanup interval S which is 3600s

@Catfriend1 Catfriend1 requested a review from researchxxl May 22, 2026 08:29
@Catfriend1 Catfriend1 self-assigned this May 22, 2026
@Catfriend1 Catfriend1 added the enhancement New feature or request label May 22, 2026
@Catfriend1 Catfriend1 enabled auto-merge (squash) May 22, 2026 08:30
@Catfriend1 Catfriend1 temporarily deployed to dev-sign-untrusted May 22, 2026 08:33 — with GitHub Actions Inactive
Copy link
Copy Markdown
Owner

@researchxxl researchxxl left a comment

Choose a reason for hiding this comment

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

thanks

@Catfriend1 Catfriend1 merged commit 66cfe60 into main May 22, 2026
2 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

🤖 This pull request has been automatically locked because it was closed.

@github-actions github-actions Bot locked and limited conversation to collaborators May 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants