Skip to content
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

Remove foreground worker for auto upload #12954

Open
2 of 5 tasks
JonasMayerDev opened this issue Apr 30, 2024 · 0 comments
Open
2 of 5 tasks

Remove foreground worker for auto upload #12954

JonasMayerDev opened this issue Apr 30, 2024 · 0 comments

Comments

@JonasMayerDev
Copy link
Collaborator

JonasMayerDev commented Apr 30, 2024

To help with reliability, we started using a foreground worker to scan the file system for changes. This is not good practice and we should try to get rid of the foreground worker since it leads to this issue for example.

The goal would be to change the auto upload mechanism to make it resumable (if the worker gets stopped by the system, it should not start scanning from scratch) and reduce the probability for the worker to get killed.

TODO

  • Individual Worker for every Auto Upload Folder (Create individual workers for every Autoupload Folder #13015)
    • Check if restarting all uploads all the time is necessary (every worker each time)
    • Add a restart all method to FileSyncHelper
  • Make FileSyncWorker restartable without loosing progress
  • Make Content Observer only start appropriate FileSyncWorkers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🏗️ In progress
Development

No branches or pull requests

2 participants