peter
b04b51c909
fix(search): every related and live-search request takes a slot, and a failed one gives it back
...
A related list's cursor cost nothing, and a cursor is a free string: a replayed one read and
enriched without end. Every request now takes a slot of the user's daily cap — taken under a lock
before the work (`quota.claim_action`), so requests sent together cannot all pass the last free
one, and given back when the request fails outright (`quota.refund_action`). The live search's
scrape source takes its slots the same way.
A limit of 0 turns the feature off: a distinct 409 `related_disabled` / `search_disabled`, and
`/api/me` says `related_enabled` / `search_enabled` so the UI can leave it out.
A videos.list that fails no longer reads as an empty page: `ingest_candidates` raises, and the
search and the related list answer the refusal (the shared budget spent says "quota") instead of
"no results". The two routes' page loops are one (`_gather`).
`clear` deletes only what the caller found: a related list's rows carry no find, and any user
could name them.
2026-10-25 00:32:26 +02:00
..
2026-10-24 16:00:37 +02:00
2026-10-23 22:07:11 +02:00
2026-10-16 01:13:31 +02:00
2026-10-19 00:53:44 +02:00
2026-10-23 20:48:23 +02:00
2026-10-10 15:35:12 +02:00
2026-09-19 19:19:29 +02:00
2026-10-17 23:08:55 +02:00
2026-10-05 00:19:39 +02:00
2026-10-18 23:45:53 +02:00
2026-10-18 15:38:32 +02:00
2026-10-21 01:05:12 +02:00
2026-10-20 00:45:22 +02:00
2026-09-29 21:21:19 +02:00
2026-10-23 20:48:23 +02:00
2026-10-05 00:19:39 +02:00
2026-10-19 00:19:03 +02:00
2026-10-19 02:36:19 +02:00
2026-10-24 11:29:14 +02:00
2026-10-19 02:03:14 +02:00
2026-10-19 02:03:14 +02:00
2026-10-19 02:32:20 +02:00
2026-10-19 02:03:14 +02:00
2026-10-19 02:03:14 +02:00
2026-10-19 21:42:07 +02:00
2026-10-19 21:42:07 +02:00
2026-10-05 00:19:39 +02:00
2026-10-05 00:19:39 +02:00
2026-10-05 00:19:39 +02:00
2026-10-05 00:19:39 +02:00
2026-10-19 21:42:07 +02:00
2026-10-18 23:45:53 +02:00
2026-10-05 03:16:27 +02:00
2026-10-12 20:54:47 +02:00
2026-10-18 23:45:53 +02:00
2026-10-19 00:19:03 +02:00
2026-10-19 00:19:03 +02:00
2026-10-05 03:16:27 +02:00
2026-10-18 23:45:53 +02:00
2026-10-18 23:45:53 +02:00
2026-10-18 23:45:53 +02:00
2026-10-18 23:45:53 +02:00
2026-10-18 23:45:53 +02:00
2026-09-04 20:29:33 +02:00
2026-10-05 00:19:39 +02:00
2026-09-04 20:29:33 +02:00
2026-10-19 21:42:07 +02:00
2026-10-20 01:56:31 +02:00
2026-10-05 00:19:39 +02:00
2026-10-18 23:45:53 +02:00
2026-10-19 01:28:38 +02:00
2026-10-19 02:03:14 +02:00
2026-10-19 02:03:14 +02:00
2026-10-19 02:03:14 +02:00
2026-10-19 02:03:14 +02:00
2026-10-19 02:03:14 +02:00
2026-08-23 07:43:06 +02:00
2026-10-06 21:02:07 +02:00
2026-10-18 23:45:53 +02:00
2026-10-20 00:45:22 +02:00
2026-10-18 23:45:53 +02:00
2026-10-19 00:19:03 +02:00
2026-10-19 02:03:14 +02:00
2026-10-10 21:56:47 +02:00
2026-08-28 02:37:56 +02:00
2026-10-21 02:05:33 +02:00
2026-10-19 21:42:07 +02:00
2026-09-19 07:34:17 +02:00
2026-10-05 00:19:39 +02:00
2026-10-18 23:45:53 +02:00
2026-10-19 02:32:20 +02:00
2026-10-18 23:45:53 +02:00
2026-10-15 04:58:16 +02:00
2026-10-05 00:19:39 +02:00
2026-10-05 00:19:39 +02:00
2026-10-05 00:19:39 +02:00
2026-10-05 00:19:39 +02:00
2026-10-05 00:19:39 +02:00
2026-10-05 00:19:39 +02:00
2026-10-19 02:03:14 +02:00
2026-09-01 23:31:49 +02:00
2026-10-21 02:05:33 +02:00
2026-10-25 00:32:26 +02:00
2026-10-05 00:19:50 +02:00
2026-10-13 00:14:09 +02:00
2026-10-11 04:42:55 +02:00
2026-10-13 00:14:09 +02:00
2026-10-13 00:14:09 +02:00
2026-10-15 04:58:16 +02:00
2026-10-18 21:21:19 +02:00
2026-10-18 02:23:15 +02:00
2026-10-20 01:56:30 +02:00
2026-10-24 11:29:14 +02:00
2026-10-05 00:19:39 +02:00
2026-08-23 07:43:06 +02:00
2026-10-19 02:03:14 +02:00
2026-08-23 07:43:06 +02:00
2026-10-18 23:45:53 +02:00
2026-08-23 07:43:06 +02:00
2026-08-23 07:43:06 +02:00
2026-10-18 23:45:53 +02:00
2026-10-05 00:19:39 +02:00
2026-10-20 01:56:31 +02:00
2026-10-20 00:45:22 +02:00
2026-10-18 23:45:53 +02:00
2026-10-05 03:16:27 +02:00
2026-10-19 02:03:14 +02:00
2026-10-19 02:03:14 +02:00
2026-10-19 02:03:14 +02:00
2026-10-19 21:42:07 +02:00
2026-10-19 00:53:44 +02:00
2026-10-19 02:03:14 +02:00
2026-10-19 21:42:07 +02:00
2026-10-19 21:42:07 +02:00
2026-10-19 21:42:07 +02:00
2026-10-08 21:18:48 +02:00
2026-10-19 22:11:20 +02:00
2026-10-19 21:42:07 +02:00
2026-10-19 21:42:07 +02:00
2026-10-19 21:42:07 +02:00
2026-10-19 21:42:07 +02:00
2026-10-19 21:42:07 +02:00
2026-10-19 21:42:07 +02:00
2026-10-19 21:42:07 +02:00
2026-10-19 22:42:46 +02:00
2026-10-05 00:19:39 +02:00
2026-10-20 04:36:26 +02:00
2026-10-19 21:42:07 +02:00
2026-10-19 21:42:07 +02:00
2026-10-19 21:42:07 +02:00
2026-10-19 21:42:07 +02:00
2026-10-19 21:42:07 +02:00
2026-10-05 00:19:39 +02:00
2026-10-19 22:11:20 +02:00
2026-10-19 22:11:20 +02:00
2026-10-19 21:42:07 +02:00
2026-10-19 21:42:07 +02:00
2026-10-19 21:42:07 +02:00
2026-10-19 21:42:07 +02:00
2026-10-19 21:42:07 +02:00
2026-10-19 21:42:07 +02:00
2026-10-19 22:11:57 +02:00
2026-10-20 01:56:30 +02:00
2026-10-06 22:31:48 +02:00
2026-10-07 23:16:25 +02:00
2026-10-20 04:36:26 +02:00
2026-09-27 13:58:23 +02:00
2026-10-19 21:42:07 +02:00
2026-10-19 21:42:07 +02:00
2026-10-19 21:42:07 +02:00
2026-10-19 21:42:07 +02:00
2026-10-19 21:42:07 +02:00
2026-10-20 01:56:30 +02:00
2026-10-06 23:55:41 +02:00
2026-10-11 05:34:25 +02:00
2026-10-05 00:19:39 +02:00
2026-10-05 00:19:39 +02:00
2026-10-04 17:53:19 +02:00
2026-10-05 00:19:38 +02:00
2026-10-20 01:56:30 +02:00
2026-10-25 00:32:26 +02:00
2026-10-24 16:00:37 +02:00
2026-10-06 23:55:41 +02:00
2026-10-05 00:19:39 +02:00
2026-10-05 00:19:39 +02:00
2026-10-05 00:19:50 +02:00
2026-10-25 00:32:26 +02:00
2026-10-19 22:11:20 +02:00
2026-08-23 07:43:06 +02:00
2026-10-18 15:38:32 +02:00
2026-10-05 00:19:39 +02:00
2026-10-23 22:07:11 +02:00
2026-10-25 00:32:26 +02:00
2026-10-25 00:32:26 +02:00
2026-10-24 16:00:37 +02:00
2026-08-23 07:43:06 +02:00
2026-10-05 00:19:39 +02:00
2026-10-05 00:19:39 +02:00
2026-10-05 00:19:39 +02:00
2026-10-11 05:34:25 +02:00
2026-10-15 04:58:16 +02:00
2026-10-05 00:19:39 +02:00
2026-10-05 00:19:39 +02:00
2026-10-05 00:19:39 +02:00
2026-10-18 03:45:18 +02:00
2026-10-19 02:03:14 +02:00
2026-10-23 22:07:11 +02:00
2026-08-23 07:43:06 +02:00
2026-08-23 07:43:06 +02:00
2026-10-23 23:45:54 +02:00
2026-10-18 23:45:53 +02:00
2026-10-18 23:45:53 +02:00
2026-09-05 04:02:57 +02:00
2026-10-05 00:19:38 +02:00
2026-10-05 00:19:39 +02:00
2026-10-24 11:29:14 +02:00
2026-10-05 00:19:39 +02:00
2026-10-18 23:45:53 +02:00
2026-10-13 00:14:09 +02:00
2026-09-18 22:50:37 +02:00
2026-09-19 04:51:31 +02:00
2026-10-19 02:03:14 +02:00
2026-10-05 00:19:39 +02:00