mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-12-05 16:07:33 +00:00
quota_refresh_failed only means the active probe could not refresh the quota and the values come from an earlier observation. The probe is throttled by openAIProbeCacheTTL, so only the read that triggered it carries the code; treating it as a failure made the quota monitor flap between error and operational roughly every 10 minutes. Exempt it like grok's quota_unknown, so monitor status is derived from the cached observation as before. Adds an end-to-end no-flap test.