-
Notifications
You must be signed in to change notification settings - Fork 69
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
Unresponsiveness while loading communities #789
Comments
@hjiangsu Any opinions my asian bro? :D |
This seems to be due to the fact that we debounce/throttle requests on our end to limit the number of requests that gets sent to an instance in cases of spam. This means that performing multiple repeated actions in quick succession may sometimes not work because Thunder throttles it. We can play around with this value and find a more reasonable compromise, but this is what I assume is happening.
This sounds like a network issue, but I'm not too sure as there's not much info here. If you encounter it again, try to notice the conditions that it happens in (cellular service vs WiFi, network related issues, switch in connection, etc.) and open a new issue with those details if possible. On a different note, I would also like to give a quick reminder that discussions on here should abide by our code of conduct to allow for a safe and inclusive space for everyone involved. |
I have a stable uplink (27mbit), this happens randomly, could be an instance slowing down others, or something in that matter, I think there should be some kind of connection repeating mechanism, since it seems Thunder is not doing so, I'm not able to debug it. I'm familiar with the code of conduct, it's also important to have a good mood in conversations without having any agression towards other person, jokes could be harmless and funny ;) |
I was able to capture the homepage bug behaviour, as you can see it loads another tabs, but not communities. VID_20231006_100333_910.mp4 |
Hmm, thats odd. How often would you say this happens? Also, is there a specific instance that this happens more often than another? (e.g., I know there was previously an issue where Thunder would hang if a given instance was down. This issue was fixed recently in #770 but I'm not sure if these two issues are related in any way. |
Randomly, it could once a day or not happen.
My account is on lemm.ee, I can't say this is related to them, because I can't be sure, but it will load if I reopen the app. Are there any solutions to send logs or debug it? |
Sorry for the late response! Unfortunately, there's no way to send back logs or debug it with a release build at this time. I will keep an eye out for this, but let me know if the latest nightly build fixes this issue. I have also adjusted the logic for the throttling to hopefully allow the initial issue to be more responsive. Assuming all goes well, I'll add this fix to the next nightly build. |
Sure thing my asian bro :) I'm using nightly now, I tried choosing communities again without luck, f.e. I had to click for ~10 seconds after feed loaded, till it finally started loading the community I clicked, but I've read your patch, I think its due to artificial limits against race condition, I've seen crashes two times this day, I think this is an overflow, my whole system freezes after Thunder stops responding: VID_20231011_222726_222.mp4 |
The fix was not released in the previous nightly. However, it should be released in the current nightly |
Oh yeah, sorry asian bro, I had a hard schedule those days, then I forgot :/, great patch, I didn't see any freezes since then, thank you for all the dev feedback. |
Description
While choosing communities from the sidebar it's not possible to re-choose community if one is already loading.
I think requests should be async.
Also sometimes there's an undebuggable bug happening. Sometimes while Thunder is trying to load the home page it stucks and keeps loading endlessly and due to previous bug I can't change the community to reinitialize a new request, then I have to close and re-open the app.
Screenshots
As you can see without matter how many times I click another community it will load the first chosen one:
VID_20231001_144852_987.mp4
Device & App Version:
The text was updated successfully, but these errors were encountered: