Skip to content

gas bench: relax Etherscan rate-gate to 250ms when API key is set - #1506

Merged
Flotapponnier merged 1 commit into
devfrom
fix/etherscan-drop-gate
Jul 26, 2026
Merged

gas bench: relax Etherscan rate-gate to 250ms when API key is set#1506
Flotapponnier merged 1 commit into
devfrom
fix/etherscan-drop-gate

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

PR #1505 wired the ETHERSCAN_API_KEY. But the 6s global rate-gate remained active, causing chain 3/4 in each cycle to wait 12-18s in the gate → hit httpTimeout=8s → timeout counter. Free-tier key allows 5 req/s = 200ms between calls, so drop gap to 250ms (safe margin) when the key is present, keep 6s when it isn't.

@Flotapponnier
Flotapponnier merged commit 52c8cd1 into dev Jul 26, 2026
1 check failed
@Flotapponnier
Flotapponnier deleted the fix/etherscan-drop-gate branch July 26, 2026 13:54
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