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

Make sync worker run less frequently when auto upload folder requirements are not met #13078

Closed
JonasMayerDev opened this issue Jun 6, 2024 · 0 comments · Fixed by #13262
Closed

Comments

@JonasMayerDev
Copy link
Collaborator

The sync background worker is currently running regularly in the background and scanning the file system for changed files. As some people point out (e.g. #13008) that is sometimes not wanted when the requirements for the autoupload folder (e.g. only upload in Wi-Fi) are not met since it drains the Akku. The problem here is that the scanning should still take place to be able to have a current and up-to-date upload queue, where the changed files are listed. To produce a compromise, we could simply make the interval between file system scans larger when the requirements are not met. So for example when the mobile phone is not connected to unmetered Wi-Fi run the background worker only every 1h and not every 15 min.

@tobiasKaminsky tobiasKaminsky moved this to 🧭 Planning evaluation (don't pick) in 🤖 🍏 Clients team Jun 7, 2024
@github-project-automation github-project-automation bot moved this from 🧭 Planning evaluation (don't pick) to ☑️ Done in 🤖 🍏 Clients team Aug 1, 2024
@AndyScherzinger AndyScherzinger added this to the Nextcloud App 3.30.0 milestone Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants