Open Bug 1881060 Opened 5 months ago

QM: Track file sizes in memory

Categories

(Core :: Storage: Quota Manager, task)

task

Tracking

()

People

(Reporter: janv, Unassigned)

Details

UsageInfo returned by Client::InitOrigin currently only contains database, file and total usage. Information about particular files is lost, so when GetQuotaObject is called, the method needs to get file size again. It would be better to cache file sizes in memory as well. It would probably allow other optimizations.

You need to log in before you can comment on or make changes to this bug.