Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Sync state of folders #10

Open
jkawamoto opened this issue Feb 6, 2018 · 0 comments
Open

Sync state of folders #10

jkawamoto opened this issue Feb 6, 2018 · 0 comments

Comments

@jkawamoto
Copy link
Member

The state of each folder is determined by integrating sync states of files in the folder. Currently, to integrate those states, OverlayHelper walks the file tree. However, since siad downloads files in some place first, there are no files in the file tree until the download is finished. Hence, OverlayHelper decides the sync state of the folder "idle" even if some files are being downloaded.

Instead of walking the file tree, it seems better to query the sync DB so that OverlayHelper can find such downloading file.

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

No branches or pull requests

1 participant