Skip to content

Performance: feat - parallelize launch and refresh network requests - #2312

Open
JohnathanWhite wants to merge 3 commits into
bitpay:developfrom
JohnathanWhite:perf/parallelize-launch-requests
Open

Performance: feat - parallelize launch and refresh network requests#2312
JohnathanWhite wants to merge 3 commits into
bitpay:developfrom
JohnathanWhite:perf/parallelize-launch-requests

Conversation

@JohnathanWhite

Copy link
Copy Markdown
Collaborator

Balances were awaited behind roughly nine serial round trips: one token-list GET per supported chain, two fiat-rate GETs, then per-key and per-read-only-wallet status calls. These are independent, so they now run together. Per-chain and per-chunk failures are isolated rather than aborting the whole effect, and rates this cycle did not produce are carried forward instead of erased.

Balances were awaited behind roughly nine serial round trips: one token-list GET per supported chain, two fiat-rate GETs, then per-key and per-read-only-wallet status calls. These are independent, so they now run together. Per-chain and per-chunk failures are isolated rather than aborting the whole effect, and rates this cycle did not produce are carried forward instead of erased.
@gabrielbazan7

Copy link
Copy Markdown
Collaborator

follow-up: JohnathanWhite#11

…uests-followup

Wallet: Enhancement - parallelize balance refresh
@JohnathanWhite
JohnathanWhite marked this pull request as ready for review August 25, 2026 21:00
@gabrielbazan7

Copy link
Copy Markdown
Collaborator

Already implemented here: #2241. We can close this one.

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.

2 participants