-
fix(subscription): raise default OAuth usage poll interval to 300s
发布于
2026-04-23 07:30:14 +00:00 | 1949 次提交 在此版本后已推送到 mainThe Anthropic subscription window tracker polled GET /api/oauth/usage
every 10s by default and kept polling even when the proxy was idle
(via the cached OAuth token in ~/.claude/.credentials.json). On Pro
accounts this blew through Anthropic's metadata rate limit within
minutes and produced a steady stream of 429s.Raise the default interval to 300s, raise the upper cap to 3600s, and
expose --subscription-poll-interval / --no-subscription-tracking CLI
flags (with matching HEADROOM_SUBSCRIPTION_POLL_INTERVAL and
HEADROOM_NO_SUBSCRIPTION_TRACKING env vars) so users can tune further
or turn the poller off entirely.Fixes #242
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com
下载附件