-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Lock device during refresh re-launch another refresh #464
Comments
Hi, if this issue is unassigned, I would like to work on this. I looked into the code for about 30 mins and I think this might be one of the root causes of the issue. But I am not sure, I think we can remove the The mutability of the the IS_RUNNING function can be causing the issue or it could be the I also went through some other parts of the codebase and found a huge dependency on I think the performance can be improved significantly, but thats for another issue to handle. But just for context one thing which can be improved is, the notification shows 60/130 fetched, but none are reflected to database immediately. |
Okay, do you think |
Yes, I think it is been called when the fragment is resumed, but I need to test it personally |
In my recent tests I am unable to reproduce this exact issue in last few days. But I can help with improving performance in the app. I will work on this and create a PR asap |
I have requested API key via mail for testing. I have done some drastic changes and will push them once I am done testing :) |
Most changes are done, some testing is still needed |
FIY, api_key is integrated in build debug workflow |
I willtest and get be soon |
@Iamlooker Hey, do you still need an API key? |
Sorry I don't think I will be able to test for few hours. I will revert back once I am back to workstation 😃 |
This is the error I am getting on my debug build
I have not made any changes to ExodusAPIRepository yet |
Yes, I have same behaviour, I don't know where is the problem, maybe the API (max limit requests API?) |
I continue to have refresh starting when I unlock device with your changes :( |
I have find a way to reproduce:
|
During the first time, when the app refreshes data, if the device is locked and users unlock the device. The coroutines are re-launched.
We need to find a way to not re-launch coroutines when the device is unlocked
The text was updated successfully, but these errors were encountered: