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

too many matching process interruptions #152

Open
blaueente opened this issue Feb 4, 2022 · 5 comments
Open

too many matching process interruptions #152

blaueente opened this issue Feb 4, 2022 · 5 comments

Comments

@blaueente
Copy link

Now at 3 million diagnostic keys the matching takes very long.
This is of course not optimal, but I can live with my device calculating for a while, I understand there are reasons why that is ( https://github.com/mh-/corona-warn-companion-android/issues/149 )
The real annoyance is having to "babysit" it during that increasing timespan:

  1. Start CWC
  2. wait
  3. touch to reset screenlock timer
  4. wait
  5. touch
  6. ...
  7. results

Problem 1: this requires continous active touching, otherwise often the screenlock turns on quite early, and the progress will be lost and cwc locks up.
Problem 2: Alternative: screen split would enable to e.g. use other apps while calculating, but this does not work. cwc locks up
Problem 3: Alternative put cwc into background, similar, but cwc locks up

When cwc locks up, it gets non-responsive, displays blank or the logo, and I need to go to task list and swipe it up.

Most optimal would be of course keep matching in background and just giving a notification upon finishing, but even very simple options would improve this situation a lot: e.g. keep screen on until calculation is finished? or pause and resume calculation?

@mh-
Copy link
Owner

mh- commented Feb 5, 2022

a) which app release are you using?

b) are you aware that you can reduce the number of download days?

@blaueente
Copy link
Author

blaueente commented Feb 5, 2022

a) 2.3.2 from the playstore
b) yes, I am aware. This does shorten the time, but the overall problem is not really solved.

Btw: Thanks a lot for the app! It really helped me to properly assess some situations.

@mh-
Copy link
Owner

mh- commented Feb 5, 2022

This is really strange, because 2.3.2 includes 41c0191 (android:keepScreenOn="true" for the main activity), which should keep the screen active. During my tests, the screen saver did not kick in.

@blaueente
Copy link
Author

Indeed, as I tried it again just now, it doesn't kick in. ProbablyI mixed up the versions, as I played around with the git master to understand the behaviour before submitting the bug, and didn't re-test all of my problems with the new install.
My bad :(
The other problems with the crashes are still present though, but now at least I can leave it calculating unattended.

@skyerjoe
Copy link

skyerjoe commented Feb 6, 2022

The other problems with the crashes are still present though, but now at least I can leave it calculating unattended.

I could confirm the crashes with a high day intervall. The matching with 3 Millions Keys cost a bunch of Power so as @mh already saifd try to decrease the intervall.

best regards

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

No branches or pull requests

3 participants