kshitijk4poor
6cfbc5f891
refactor(credits): throttle the re-warm, scope the seed thread, one subscription predicate
...
- rewarm_pricing_before_depleted_notice: a failed fetch caches {} for
_FAILED_CATALOG_TTL_SECONDS and the peek reads that as cold, so every
header in that window spawned a thread that read the auth store and hit
the cached {}. Remember when the last warm started and decide inline
until the window passes. Drop the dead try/except around the pure peek.
- _bg_seed now runs under spawn_context_thread: the warm it gained reads
the profile's auth store, so the thread must carry the profile scope.
- _rerun_notice_policy replaces the idiom copied at three sites.
- _is_subscription_billed: the free-tier default filtered on any truthy
billing_mode while _is_model_free keyed on == 'subscription'.
- The no-respawn guard test counts warm calls instead of enumerating
finished threads (which always read 0).
2026-09-20 14:02:17 +05:30
..
2026-09-19 23:42:20 -07:00
2026-09-19 12:11:58 -07:00
2026-09-19 11:22:01 -07:00
2026-09-19 02:36:56 -07:00
2026-09-19 02:33:41 -07:00
2026-09-19 12:11:58 -07:00
2026-09-19 12:11:58 -07:00
2026-09-19 20:45:06 -07:00
2026-09-19 21:15:16 -07:00
2026-09-19 21:11:30 -07:00
2026-09-18 11:01:52 -07:00
2026-09-19 21:11:30 -07:00
2026-09-19 09:23:22 -07:00
2026-09-19 03:43:58 +05:30
2026-09-19 10:28:34 -07:00
2026-09-19 09:43:20 -07:00
2026-09-19 09:57:21 -07:00
2026-09-19 10:47:48 -07:00
2026-09-19 10:20:55 -07:00
2026-09-19 10:28:34 -07:00
2026-09-19 10:28:34 -07:00
2026-09-19 10:47:48 -07:00
2026-09-19 10:28:34 -07:00
2026-09-19 10:22:33 -07:00
2026-09-19 10:44:26 -07:00
2026-09-19 09:30:56 -07:00
2026-09-18 20:55:49 -07:00
2026-09-19 23:51:25 -07:00
2026-09-19 23:41:10 -07:00
2026-09-19 12:17:05 -07:00
2026-09-20 00:08:36 -07:00
2026-09-19 16:28:57 +05:30
2026-09-18 12:46:54 -07:00
2026-09-19 09:20:54 -07:00
2026-09-19 12:30:32 -07:00
2026-09-19 09:29:18 -07:00
2026-09-20 00:19:04 +05:30
2026-09-20 00:19:04 +05:30
2026-09-19 16:20:29 +05:30
2026-09-19 01:27:29 -07:00
2026-09-18 12:52:36 -07:00
2026-09-19 02:02:14 -07:00
2026-09-20 00:09:14 -07:00
2026-09-19 10:44:26 -07:00
2026-09-18 11:01:52 -07:00
2026-09-18 20:34:16 -07:00
2026-09-18 22:36:24 -07:00
2026-09-19 01:29:03 -07:00
2026-09-18 20:34:16 -07:00
2026-09-18 20:34:16 -07:00
2026-09-19 02:42:26 -07:00
2026-09-19 02:01:36 -07:00
2026-09-19 21:11:30 -07:00
2026-09-19 02:44:02 -07:00
2026-09-19 23:46:42 -07:00
2026-09-19 09:34:40 -07:00
2026-09-19 10:26:08 -07:00
2026-09-20 12:17:52 +05:30
2026-09-19 20:54:06 -07:00
2026-09-19 10:47:48 -07:00
2026-09-19 20:54:06 -07:00
2026-09-19 10:26:08 -07:00
2026-09-20 14:02:17 +05:30
2026-09-19 20:56:31 -07:00
2026-09-20 14:02:17 +05:30
2026-09-19 09:42:18 -07:00
2026-09-19 14:30:36 -07:00
2026-09-19 03:19:18 -07:00
2026-09-19 23:58:35 -07:00
2026-09-19 09:38:01 -07:00
2026-09-18 12:48:16 -07:00
2026-09-18 12:49:40 -07:00
2026-09-19 10:52:01 -07:00
2026-09-19 12:30:31 -07:00
2026-09-19 20:44:24 -07:00
2026-09-19 10:44:26 -07:00
2026-09-19 01:31:49 -07:00
2026-09-19 02:28:50 -07:00
2026-09-18 22:36:41 -07:00
2026-09-18 22:36:41 -07:00
2026-09-18 22:36:41 -07:00
2026-09-19 09:25:29 -07:00
2026-09-18 12:51:22 -07:00
2026-09-18 12:51:22 -07:00
2026-09-19 09:54:20 -07:00
2026-09-19 10:05:26 -07:00
2026-09-19 10:05:26 -07:00
2026-09-19 23:46:08 -07:00
2026-09-20 00:22:24 -07:00
2026-09-19 02:33:41 -07:00
2026-09-20 00:22:24 -07:00
2026-09-20 00:13:01 -07:00
2026-09-18 12:44:04 -07:00
2026-09-19 02:33:41 -07:00
2026-09-19 02:02:14 -07:00
2026-09-19 02:01:36 -07:00
2026-09-20 00:22:24 -07:00
2026-09-18 12:47:23 -07:00
2026-09-18 15:11:47 -07:00
2026-09-19 23:59:11 -07:00
2026-09-19 00:17:19 -07:00
2026-09-19 22:05:32 +05:30
2026-09-18 12:46:54 -07:00
2026-09-18 15:12:27 -07:00
2026-09-18 15:11:47 -07:00
2026-09-19 15:04:44 +05:30
2026-09-19 15:04:44 +05:30
2026-09-19 00:17:19 -07:00
2026-09-18 15:12:27 -07:00
2026-09-19 01:29:03 -07:00