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

fix: update selected account token #422

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ieow
Copy link
Contributor

@ieow ieow commented Dec 9, 2022

we are having slowness on NFT page if user have multiple account ( derived account) and a lot spam nft)
This is due to the updateSolanaToken is trying to fetch token account for all derived account.
This will also trigger multiple call updateMetadata and updateTokenInfoMap.

This PR to make token query to selected account only
This will reduce number of rpc calls and time to load nft page
This require PR https://github.com/torusresearch/controllers/pull/209

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Other information

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

Successfully merging this pull request may close these issues.

1 participant