You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(stake): throttle Etherscan calls under the free 5 req/s limit
The MOR scan fired 12 Etherscan log calls in parallel (6 riders × 2 pools),
blowing the free tier's ~5 req/s limit → most returned "rate limit" → empty →
no MOR backers in prod. (#212's no-store made it worse by turning cached
retries into real calls.) Confirmed via a cache-buster: the key IS present and
the build IS live — the calls were just being throttled to nothing.
Run the calls in waves of 4 with a 320ms gap to stay under the limit. The route
caches the whole graph for 60s, so this runs at most once a minute.
tsc + eslint + next build clean.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments