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

Implement a Producer/Consumer model in Syncer #11

Closed
melvinkcx opened this issue Nov 16, 2019 · 0 comments · Fixed by #21
Closed

Implement a Producer/Consumer model in Syncer #11

melvinkcx opened this issue Nov 16, 2019 · 0 comments · Fixed by #21
Assignees

Comments

@melvinkcx
Copy link
Owner

The sync() function of Syncer now produce a list of files, then upload out-of-sync files using a ThreadPool.

A more efficient implementation would be uploading out-of-sync files as they are added to the Queue while scan() is still doing its job

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

Successfully merging a pull request may close this issue.

1 participant