Skip to content

Update Room transactions when downloading a survey - #3869

Open
andreia-ferreira wants to merge 3 commits into
masterfrom
andreia/3767/improve-loi-db-writes
Open

Update Room transactions when downloading a survey #3869
andreia-ferreira wants to merge 3 commits into
masterfrom
andreia/3767/improve-loi-db-writes

Conversation

@andreia-ferreira

Copy link
Copy Markdown
Collaborator

Towards #3866
Fixes #3767

After a survey finishes downloading, saving it locally ran one database transaction per site and then scanned the whole table to prune deleted ones. This caused the initial loading dialog to show for longer than needed, especially for large surveys. This PR improves that by:

@shobhitagarwal1612 PTAL?

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.

[Crash] IllegalStateException: Couldn't read row, col from CursorWindow on LocationOfInterestDao

1 participant