Closed Bug 1795903 Opened 1 month ago Closed 26 days ago

Introduce StorageMaintenanceWorker in A-C that runs periodically to prune places storage

Categories

(Fenix :: Performance, enhancement)

All
Android
enhancement

Tracking

(firefox108 fixed)

RESOLVED FIXED
Tracking Status
firefox108 --- fixed

People

(Reporter: kaya, Assigned: kaya)

Details

Attachments

(2 files)

63 bytes, text/x-github-pull-request
Details | Review
57 bytes, text/x-github-pull-request
Details | Review

dbSizeLimit parameter for runMaintenance call is exposed from A-S which indicates the maximum DB size to aim for, in bytes. If the database exceeds this size, a small number of visits will be pruned. This parameter needs to be added to PlacesStorage class' runMaintenance method to reflect the change on A-C.

Assignee: nobody → kkaya
Summary: Add dbSizeLimit Parameter to runMaintenance call in PlacesStorage class in A-C → Introduce StorageMaintenanceWorker in A-C that runs periodically to prune places storage

The scope of this ticket is extended to create the WorkManager's Worker in A-C to consume in Fenix.

Attached file GitHub Pull Request
Attached file GitHub Pull Request
You need to log in before you can comment on or make changes to this bug.