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

Sorting by most supply is too slow #7148

Open
1 task done
newraina opened this issue Sep 5, 2023 · 3 comments
Open
1 task done

Sorting by most supply is too slow #7148

newraina opened this issue Sep 5, 2023 · 3 comments
Labels
$ ~<50usd bug Something isn't working p2 core functionality, or is affecting 60% of app

Comments

@newraina
Copy link
Member

newraina commented Sep 5, 2023

What happened?

On RMRK2, after selecting sort by most supply, I haven't had any success in getting results, I usually get two kinds of errors:

  1. The query failed after 1min, status=504
  2. The query ends in the middle, status=200, but the return is error: canceling statement due to statement timeout

Not sure if this can be improved on the index side? @vikiival

On other networks, this sorting option is also relatively slow, but I can still get results.

Please reproduce in steps

  1. https://canary.kodadot.xyz/ksm/explore/collectibles?sort=supply_DESC
  2. waiting results
  3. Most of time you won't be able to get the results

Expected Behavior

You can see the sorted results normally.

What browsers are you seeing the problem on?

No response

At which address did you encounter bug?

No response

Are you logged in?

None

Which wallet you are using?

No response

At which chain did you encounter bug?

No response

Screenshots

CleanShot 2023-09-05-jNMmo6xq@2x

Relevant log output

No response

Payment link for reward

Payout

Code of Conduct

  • I agree to follow this project's Code of Conduct
@newraina newraina added the bug Something isn't working label Sep 5, 2023
@yangwao
Copy link
Member

yangwao commented Sep 5, 2023

I think this would need make resolver on indexers
cc @vikiival
maybe related

@vikiival
Copy link
Member

vikiival commented Sep 5, 2023

I think this would need make resolver on indexers

Nope

On RMRK2, after selecting sort by most supply, I haven't had any success in getting results

Yup It has like a milion items so you would feel it

@roiLeo
Copy link
Contributor

roiLeo commented Sep 5, 2023

@yangwao yangwao added $ ~<50usd p1 preventing everyone from using app p2 core functionality, or is affecting 60% of app and removed p1 preventing everyone from using app labels Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
$ ~<50usd bug Something isn't working p2 core functionality, or is affecting 60% of app
Projects
None yet
Development

No branches or pull requests

4 participants