Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Rework folder size updates/caching #41

Closed
silverwind opened this Issue Feb 22, 2014 · 1 comment

Comments

Projects
None yet
1 participant
Owner

silverwind commented Feb 22, 2014

Folder sizes got broken through recent changes, and this gives me an opportunity to rework the model for it. I have the following in mind for it:

  • On startup, do a full du on the file tree, store every folder and its size in memory.
  • When a watcher updates, start another du on the affected folder, but make sure to not run more than one du at once, and not too often, too, as it can get pretty resource intensive, depending on the number of files.

@silverwind silverwind self-assigned this Feb 22, 2014

@silverwind silverwind added this to the 1.0 milestone Feb 23, 2014

Owner

silverwind commented Mar 3, 2014

Recycling issue for recent breakage. I'll most likely have a look at this tomorrow.

@silverwind silverwind closed this in 4ac7cf6 Mar 4, 2014

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