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

Asset selector will not load until long queries complete #3061

Open
ValarDragon opened this issue Apr 9, 2024 · 1 comment
Open

Asset selector will not load until long queries complete #3061

ValarDragon opened this issue Apr 9, 2024 · 1 comment

Comments

@ValarDragon
Copy link
Member

The asset selector icon on the Swap page will not load until this query completes https://app.osmosis.zone/api/edge-trpc-assets/assets.getUserAssets.

Theres two problems:

  • That query takes insanely long in non-EU timexone (1.35s in very good internet in korea)
  • We should not be blocked on this query for the asset selector. Its preferrable to have the icon load first, and then have clicking it have a delay. This at least makes the UI feel stable faster, and pipelines the latency for a user click on the selector.
@MaxMillington
Copy link
Collaborator

@jonator @JoseRFelix @DavideSegullo I think this is no longer an issue right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants