Points page takes a long time to load ⏰
Closed this issue · 4 comments
Abdisalanx0 commented
Description
When you click on the points tab it takes a long time to display the page!
Steps to Reproduce
Steps to reproduce the behavior:
- Go to Member Profile.
- Click on points tab
Expected Behavior
It probably should load faster
why its happening?
- I believe its having trouble loading all of the users?
- Earlier this week it was having no trouble, Maybe the latest pr slowed down the load time?
- Maybe we could implement a way to load the page first then the data and potentially have a skeleton of the data until it loads?
Abdisalanx0 commented
@ramiAbdou Its not loading for 10s anymore. idk why 🤔
ramiAbdou commented
No worries, it might have been a fluke. I can confirm that it's not taking very long for me either. If the issue persists later, feel free to reopen this!
ramiAbdou commented
Reopening this as it's not quite 10 seconds slow, but it is a slow query and I found the culprit!
Abdisalanx0 commented
Nice! I also realized that if someone gets too many points too fast it slows it down. Seems like your change fixed it though