feat: işlenmiş ham kayıtları 24 saat sonra otomatik sil
PRD'nin auto-purge lifecycle'ı: RawSegment analiz tamamlanmış (PROCESSED/DISCARDED) ve hiçbir candidate'i PENDING_STT'de değilse (yani hâlâ transkribe edilmeyi bekleyen yoksa) 24 saatten (yapılandırı- labilir: RAW_SEGMENT_TTL_HOURS) eskiyse DB kaydı + dosyası siliniyor. Saatlik kontrol ediliyor, api-daemon başlarken de bir kere çalışıyor. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -45,3 +45,8 @@ YTDLP_POT_PROVIDER_URL=
|
||||
# ISP proxy product specifically (e.g. Oxylabs "ISP Proxies"), not a plain
|
||||
# datacenter proxy — the latter has the same problem as the server itself.
|
||||
PROXY_URL=
|
||||
|
||||
# Processed raw recordings (raw_segments) older than this get auto-deleted
|
||||
# (DB row + file) — PRD's auto-purge lifecycle. Only segments already fully
|
||||
# analyzed (no candidate still waiting on STT) are eligible.
|
||||
RAW_SEGMENT_TTL_HOURS=24
|
||||
|
||||
Reference in New Issue
Block a user