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

Allow time schedule based sync cycle end early #961

Open
e00E opened this issue Jan 16, 2023 · 2 comments
Open

Allow time schedule based sync cycle end early #961

e00E opened this issue Jan 16, 2023 · 2 comments

Comments

@e00E
Copy link

e00E commented Jan 16, 2023

I would like to be able to configure the sync cycle duration to run until the sync is complete or a maximum time limit is reached. This is useful because I want the sync cycle to be as short as possible to save battery but I also want it to be as long as it needs to to get a full sync.

For example, I would like to be able to configure the sync cycle to run for at most 5 minutes and expect the following behavior:

  • If the sync completes in 1 minute the sync cycle ends.
  • If the sync does not complete in 5 minutes, the sync cycle is interrupted.

This might be how the setting already works in which case it just needs to be documented.

@e00E e00E changed the title Make time schedule based sync cylce end early Allow time schedule based sync cylce end early Jan 16, 2023
@e00E e00E changed the title Allow time schedule based sync cylce end early Allow time schedule based sync cycle end early Jan 16, 2023
@TheKoTech
Copy link

Instead of turning sync on and off purely based on time, it could be better to keep sync on for N minutes after last change - either pulled from other devices or on the device. After N minutes of inactivity, start checking periodically: turn on for X minutes, turn off for Y minutes. On pull or file change, back to being on for N minutes.

That way the app won't turn off while files are being synced, battery is saved, the behavior is more configurable and consistent

@Today20092
Copy link

I'm also excited to see custom sync scheduling.

Another way that would be cool, but definitely not necessary, is sync on these specific days of the week at these times.

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

No branches or pull requests

4 participants