feat(scheduler): admin-tunable maintenance re-validation batch size

Expose the maintenance job's rolling re-validation batch (videos re-checked per
run) as an admin control on the Scheduler dashboard, stored in app_state
(migration 0018; NULL = the env/config default). The job reads the effective
value each run via a state helper, clamped to a sane range. Trilingual.
This commit is contained in:
npeter83 2026-06-18 04:37:08 +02:00
parent 264a3c74af
commit dd83718304
11 changed files with 183 additions and 232 deletions

View file

@ -40,6 +40,12 @@
"backfill_deep": "Ganze Historie nachladen",
"probe": "Shorts klassifizieren"
},
"maintenance": {
"title": "Wartung",
"batchLabel": "Pro Lauf erneut geprüfte Videos",
"batchHint": "Wie viele am längsten nicht geprüfte Videos der Wartungs-Job pro Lauf erneut validiert. Höher = schnellerer Gesamtzyklus, aber mehr API-Kontingent (1 Einheit je 50 Videos).",
"batchNote": "Standard: {{default}}. ~233k Videos ÷ dieser Wert = Tage für einen vollen Prüfzyklus."
},
"dot": {
"running": "läuft gerade",
"ok": "letzter Lauf OK",

View file

@ -40,6 +40,12 @@
"backfill_deep": "Backfilling full history",
"probe": "Classifying Shorts"
},
"maintenance": {
"title": "Maintenance",
"batchLabel": "Videos re-checked per run",
"batchHint": "How many least-recently-checked videos the maintenance job re-validates each run. Higher = faster full cycle but more API quota (1 unit per 50 videos).",
"batchNote": "Default: {{default}}. ~233k videos ÷ this = days for a full re-check cycle."
},
"dot": {
"running": "running now",
"ok": "last run OK",

View file

@ -40,6 +40,12 @@
"backfill_deep": "Teljes előzmény behúzása",
"probe": "Shorts besorolás"
},
"maintenance": {
"title": "Karbantartás",
"batchLabel": "Futásonként újraellenőrzött videók",
"batchHint": "Hány, legrégebben ellenőrzött videót ellenőriz újra a karbantartó job futásonként. Magasabb = gyorsabb teljes ciklus, de több API-kvóta (50 videónként 1 egység).",
"batchNote": "Alapérték: {{default}}. ~233k videó ÷ ez = a teljes újraellenőrzési ciklus napokban."
},
"dot": {
"running": "most fut",
"ok": "utolsó futás OK",