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

[BUG] Too many requests and UI slow down when importing tremendous subscriptions #19

Open
CanglanXYA opened this issue Apr 19, 2024 · 3 comments
Labels
bug Something isn't working fixed This issue has been fixed and will be closed in the next release P1 This should be looked at as soon as possible

Comments

@CanglanXYA
Copy link

Describe the bug
A clear and concise description of what the bug is.

My twitter account has approximately 1000 following accounts and when I tried to import all of them to app, it seemed that the app was going to import all of them at once and send multi parallel http requests, which beyond the limit of the f**king twitter's api fetch restrict.

I got "httpexception:too many requests" at every startup, besides this app was eating my cpu or gpu resource and halted my phone at that time so I had to reboot it.

To Reproduce
Steps to reproduce the behavior:

  1. Go to subscription bar
  2. Click on import subscriptions
  3. Wait for twitter server to suspend my account or my phone to be "dead"

Expected behavior
A clear and concise description of what you expected to happen.

Reduce the numbers of subscriptions for requests if its larger than the f**king twitter's api settings.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: POCO F5 PRO
  • OS: Android 14 Lineage OS
  • Browser maybe webview ?
  • Version 3.3.1

Additional context
Add any other context about the problem here.
There is also a similar app called squawker for twitter, and I also get similar error but this app seems dont consume my phone's resource and I was also able to browser user by my selecting. I wonder if you were using similar code base ?

@TheHCJ
Copy link
Member

TheHCJ commented Apr 19, 2024

Quacker is the original codebase before squawker forked it and turned it into it's own project so the codebase is very similar

@TheHCJ TheHCJ added bug Something isn't working P1 This should be looked at as soon as possible labels Apr 19, 2024
@TheHCJ
Copy link
Member

TheHCJ commented Apr 20, 2024

I think I have found the root cause of the issue

@TheHCJ TheHCJ added the fixed This issue has been fixed and will be closed in the next release label Apr 20, 2024
@TheHCJ
Copy link
Member

TheHCJ commented Apr 20, 2024

This issue has been fixed in v3.4.1

@TheHCJ TheHCJ closed this as completed Apr 20, 2024
@TheHCJ TheHCJ reopened this Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed This issue has been fixed and will be closed in the next release P1 This should be looked at as soon as possible
Projects
None yet
Development

No branches or pull requests

2 participants