Skip to content

feat: use concurrency pool for chain code fetching#15

Merged
Destiner merged 1 commit into
mainfrom
feat/chain-polling-concurrency-pool
Mar 1, 2026
Merged

feat: use concurrency pool for chain code fetching#15
Destiner merged 1 commit into
mainfrom
feat/chain-polling-concurrency-pool

Conversation

@Destiner
Copy link
Copy Markdown
Owner

@Destiner Destiner commented Mar 1, 2026

Summary

  • Replace batch-based chain fetching (chunks of 10, sequential) with a concurrency pool that always maintains 10 active requests — a single slow chain no longer blocks the rest
  • Add 30s timeout per RPC call via viem's HTTP transport
  • Add retry logic (up to 3 attempts) for failed chain code fetches

Replace batch-based chain fetching with a concurrency pool that always
maintains 10 active requests. Add 30s timeout per RPC call and retry
up to 3 times on failure.
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
contract-scan Building Building Preview, Comment Mar 1, 2026 1:11pm

@Destiner Destiner merged commit 51d0c2f into main Mar 1, 2026
3 checks passed
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