Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Purge workers for analytics and geolocation #20

Merged
merged 1 commit into from
Aug 17, 2020
Merged

Conversation

f8full
Copy link
Owner

@f8full f8full commented Aug 17, 2020

Description

This PR add regular purge of the local database of all rows for which upload_completed != 0

expected behavior

Database should be regularly purged of records that have been successfully uploaded

- fix a bug where

- update daos to expose a way to delete all db rows where upload_completed != 0
- add use case to purge all uploaded rows, either analytics or geolocation
- add workers launching the work in the background via workmanager using said use cases
- start (enqueue) work in HerdrActivity when observing login status change
@f8full f8full changed the title Purge workers for Analytics and geolocation Purge workers for analytics and geolocation Aug 17, 2020
@f8full f8full self-assigned this Aug 17, 2020
@f8full f8full merged commit 32caec5 into master Aug 17, 2020
@f8full f8full deleted the data-purge-workers branch August 17, 2020 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant