Diego Rodrigues de Sa e Souza
0d832f7d79
fix(sse): wire shared quota-fetch throttle into all provider fetchers ( #6911 ) ( #6963 )
...
OMNIROUTE_QUOTA_FETCH_MIN_INTERVAL_MS / quotaFetchThrottle.ts documents
itself as used by 'the provider quota fetchers' (plural), but only
codexQuotaFetcher.ts ever called throttleQuotaFetch(). N accounts on
one IP for DeepSeek, Bailian, OpenCode, or Crof still burst
simultaneously.
Wire throttleQuotaFetch() into fetchDeepseekQuota, fetchBailianQuota
(both the primary and China-region retry fetch sites),
fetchOpencodeQuota, and fetchCrofUsage, placed after the existing
cache short-circuit so cache hits stay unaffected (mirrors the
codexQuotaFetcher.ts pattern).
PROVIDER_LIMITS_SYNC_SPACING_MS / providerLimits.ts's OAuth vs
non-OAuth split is left unchanged — that split is intentional by
design and already regression-guarded by
tests/unit/provider-limits-oauth-sequential-sync.test.ts.
The generic usage.ts::getUsageForProvider dispatch path (github,
glm, minimax, nanogpt, xai, etc.) is intentionally out of scope for
this fix to avoid scope creep; ENVIRONMENT.md now documents the
actual post-fix coverage instead of the prior overclaim.
2026-07-12 10:23:19 -03:00
..
2026-06-30 06:54:29 -03:00
2026-07-12 01:59:35 -03:00
2026-07-12 03:41:50 -03:00
2026-07-12 03:30:43 -03:00
2026-07-02 10:47:13 -03:00
2026-06-29 08:40:06 -03:00
2026-07-11 08:01:46 -03:00
2026-07-11 11:21:14 -03:00
2026-03-05 08:41:44 -03:00
2026-05-01 12:37:09 -03:00
2026-07-04 13:00:30 -03:00
2026-07-02 10:47:13 -03:00
2026-05-21 01:29:12 -03:00
2026-04-16 16:07:44 -03:00
2026-06-29 08:40:06 -03:00
2026-06-29 08:40:06 -03:00
2026-05-21 01:29:12 -03:00
2026-06-17 19:26:32 -03:00
2026-07-02 10:47:13 -03:00
2026-06-28 06:58:29 -03:00
2026-05-21 01:29:12 -03:00
2026-06-29 16:51:03 -03:00
2026-06-29 08:40:06 -03:00
2026-07-02 10:47:13 -03:00
2026-07-12 10:23:19 -03:00
2026-07-02 10:47:13 -03:00
2026-05-26 23:51:47 -03:00
2026-06-29 08:40:06 -03:00
2026-06-29 08:40:06 -03:00
2026-07-12 03:30:47 -03:00
2026-07-05 07:41:15 -03:00
2026-05-29 13:21:36 -03:00
2026-06-30 06:54:29 -03:00
2026-06-19 06:49:01 -03:00
2026-04-13 14:43:32 -03:00
2026-07-12 03:30:47 -03:00
2026-06-16 01:00:40 -03:00
2026-06-27 09:07:12 -03:00
2026-06-13 17:27:40 -03:00
2026-04-19 19:50:30 -03:00
2026-04-12 22:41:12 -03:00
2026-06-17 19:26:32 -03:00
2026-07-09 16:49:59 -03:00
2026-06-25 13:17:40 -03:00
2026-07-02 10:47:13 -03:00
2026-06-29 08:40:06 -03:00
2026-06-25 13:17:40 -03:00
2026-05-15 12:51:07 -03:00
2026-07-04 13:00:30 -03:00
2026-05-02 00:48:54 -03:00
2026-06-29 08:40:06 -03:00
2026-05-23 01:46:59 -03:00
2026-07-04 13:00:30 -03:00
2026-07-04 13:00:30 -03:00
2026-07-04 13:00:30 -03:00
2026-07-12 03:41:50 -03:00
2026-06-16 08:46:03 -03:00
2026-07-12 03:41:50 -03:00
2026-05-10 00:55:06 -03:00
2026-06-23 03:08:29 -03:00
2026-05-29 12:44:29 -03:00
2026-06-29 08:40:06 -03:00
2026-05-24 18:05:58 -03:00
2026-07-12 10:23:19 -03:00
2026-06-03 18:24:41 -03:00
2026-07-12 10:23:19 -03:00
2026-07-04 13:00:30 -03:00
2026-06-13 17:27:40 -03:00
2026-07-10 18:05:51 -03:00
2026-05-26 23:51:47 -03:00
2026-06-29 08:40:06 -03:00
2026-07-11 21:36:29 -03:00
2026-06-12 23:49:22 -03:00
2026-05-29 13:21:36 -03:00
2026-07-07 17:07:13 -03:00
2026-04-11 09:38:17 -03:00
2026-07-05 02:33:32 -03:00
2026-06-19 06:49:01 -03:00
2026-07-02 10:47:13 -03:00
2026-07-04 13:00:30 -03:00
2026-06-06 19:13:11 -03:00
2026-05-23 01:46:59 -03:00
2026-07-04 13:00:30 -03:00
2026-05-24 18:05:58 -03:00
2026-07-09 21:39:09 -03:00
2026-07-11 04:25:47 -03:00
2026-07-11 04:25:47 -03:00
2026-07-11 01:33:24 -03:00
2026-05-10 00:55:06 -03:00
2026-06-19 06:49:01 -03:00
2026-07-09 16:44:28 -03:00
2026-04-12 10:34:10 -03:00
2026-07-02 10:47:13 -03:00
2026-07-04 13:00:30 -03:00
2026-05-29 12:44:29 -03:00
2026-04-22 01:39:49 -03:00
2026-06-29 08:40:06 -03:00
2026-07-12 10:23:19 -03:00
2026-06-29 08:40:06 -03:00
2026-06-13 17:27:40 -03:00
2026-07-06 19:29:59 -03:00
2026-07-05 07:41:15 -03:00
2026-06-23 03:08:29 -03:00
2026-07-04 13:00:30 -03:00
2026-06-19 06:49:01 -03:00
2026-05-10 00:55:06 -03:00
2026-06-07 07:20:02 -03:00
2026-07-06 18:13:31 -03:00
2026-07-06 18:13:31 -03:00
2026-07-04 13:00:30 -03:00
2026-05-29 13:21:36 -03:00
2026-07-04 13:00:30 -03:00
2026-07-10 19:47:05 -03:00
2026-07-10 19:50:38 -03:00
2026-04-13 13:11:30 -03:00
2026-07-02 10:47:13 -03:00
2026-06-21 08:56:51 -03:00
2026-06-04 20:05:38 -03:00
2026-07-11 02:10:56 -03:00
2026-05-31 19:13:41 -03:00
2026-05-29 13:21:36 -03:00
2026-07-11 07:39:09 -03:00
2026-06-04 20:05:38 -03:00
2026-07-04 13:00:30 -03:00
2026-07-02 10:47:13 -03:00
2026-07-11 01:05:07 -03:00
2026-05-29 13:21:36 -03:00
2026-06-04 20:05:38 -03:00
2026-05-29 13:21:36 -03:00
2026-06-19 06:49:01 -03:00
2026-05-10 00:55:06 -03:00
2026-05-10 00:55:06 -03:00
2026-05-10 00:55:06 -03:00
2026-06-19 06:49:01 -03:00
2026-06-25 13:17:40 -03:00
2026-07-02 10:47:13 -03:00
2026-03-14 10:59:15 -03:00
2026-06-25 13:17:40 -03:00
2026-07-02 10:47:13 -03:00
2026-06-29 08:40:06 -03:00
2026-06-29 08:40:06 -03:00
2026-05-10 00:55:06 -03:00
2026-05-10 00:55:06 -03:00
2026-06-13 17:27:40 -03:00
2026-07-11 07:39:39 -03:00
2026-06-19 06:49:01 -03:00
2026-07-09 21:39:09 -03:00
2026-06-04 20:05:38 -03:00
2026-07-05 02:30:30 -03:00
2026-07-06 14:58:21 -03:00
2026-07-04 13:00:30 -03:00
2026-03-30 12:58:45 -03:00
2026-07-11 05:03:56 -03:00
2026-06-22 03:17:02 -03:00
2026-06-08 00:48:01 -03:00
2026-04-17 23:21:02 -03:00
2026-04-03 00:15:35 -03:00