Closed Dan-Schmidt closed 11 years ago
As of yesterday, RemoteChunkStore::Capacity properly reports the total space in the user's account, i.e. the size of all their vaults.
Excellent, so we can use that for the maximum size. How often can we query this? What should we use for the used size?
Size and Capacity can be queried as often as you want, as the values are cached. The AccountStatusManager retrieves account snapshots every 10 to 180 seconds and interpolates between them.
The size only relates to the total size of all default chunks stored, not the actual file sizes (compression etc.), so ideally we would use the scaling factor between total chunk size and total file size (from Drive's stats) to estimate the total file capacity via the total chunk capacity.
The lifestuff drive reports a size of 1GB.