Aggressive repeated get user calls inside update widget causing 429 too many requests #2026
Open
1 task done
Labels
bug
Something isn't working
Which packages are you using?
stream_chat
On what platforms did you experience the issue?
iOS
What version are you using?
8.0.0 (I checked 8.1.0 there isn't a mention of fixing this and I have bunch of dependencies that I can't upgrade to 8.1.0 yet)
What happened?
User list screen was presented with showDialog (followed from sample code):
The following screenshot from opening the screen once.
The problem I traced to is this code
_controller.doInitialLoad() gets repeatedly called with didUpdateWidget in paged_value_scroll_view.
I tapped three time and triggered 429. (Sometime it would fail on the first try)
ScreenRecording_09-22-2024.16-20-02_1.MP4
Steps to reproduce
Supporting info to reproduce
No response
Relevant log output
No response
Flutter analyze output
No response
Flutter doctor output
Code of Conduct
The text was updated successfully, but these errors were encountered: