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

Stop syncing in the background after a reasonable timeout if the client doesn't request /sync #83

Open
Half-Shot opened this issue Jan 14, 2021 · 0 comments · May be fixed by #84
Open

Comments

@Half-Shot
Copy link
Contributor

This is more for the (unusual) case where you are running a pan demon for a larger chunk of users, and want to conserve resources by not running a sync perpetually for all your users at once. Have a reasonable timeout where if there is no activity from the client after a given number of seconds, we should treat them as offline and not sync.

I would expect that the default would be to sync perpetually, but it would be nice to have this option. Relatedly, it would be good to not sync all users on startup but rather on demand.

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

Successfully merging a pull request may close this issue.

1 participant