Skip to content

perf(wallet): bound and parallelize whoami status queries - #140

Open
mattsse wants to merge 1 commit into
mainfrom
mattsse/perf-wallet-whoami
Open

perf(wallet): bound and parallelize whoami status queries#140
mattsse wants to merge 1 commit into
mainfrom
mattsse/perf-wallet-whoami

Conversation

@mattsse

@mattsse mattsse commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Run balance, asset discovery, and session reads concurrently, and cap status network queries at three seconds without RPC retries. Previously, a stalled RPC could take roughly 41 seconds and asset discovery had no explicit timeout; failures retain the existing unknown-balance and payment-token fallback behavior.

Local synthetic benchmarks reduced a stalled RPC from 41.24s to 3.15s and two independent 600ms responses from 1.38s to 0.76s.

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