Skip to content
Snippets Groups Projects
Unverified Commit 665b6f21 authored by Matthias Urhahn's avatar Matthias Urhahn Committed by GitHub
Browse files

Improve risklevel result data access performance (DEV) #1953


* Don't log all exposure windows on `RiskLevelTaskResult.toString()` due to performance impact when logging.

* Add RiskLevelResult flow optimized for just getting the latest two results.

* Share risk level result subscriptions.
The delay when switching from Home to RiskDetails fragment will be bridged and no re-loading necessary.

* Fix test regressions

* Remove test code.

* Introduce specific query for "latestAndLastSuccessful".
Add unit tests for SQL queries.

* Fix test regressions due to missing mocking.

* Address merge conflicts.

* Fix instrumentation tests not building.

Co-authored-by: default avatarRalf Gehrer <ralfgehrer@users.noreply.github.com>
parent 82a1f74e
No related branches found
No related tags found
Loading
Showing
with 374 additions and 43 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment