diff --git a/backend/routers/videos.py b/backend/routers/videos.py index d881ae5..3e8357f 100644 --- a/backend/routers/videos.py +++ b/backend/routers/videos.py @@ -1067,7 +1067,7 @@ def update_progress( user_id=current_user.id, video_id=video_id, status="complete" ).filter(Download.pending_delete_at.is_(None)).first() if dl: - dl.pending_delete_at = datetime.utcnow() + timedelta(days=7) + dl.pending_delete_at = datetime.utcnow() + timedelta(hours=2) elif body.watched and prev_watched: # Rewatch — strongest positive signal uv.rewatch_count = (uv.rewatch_count or 0) + 1 @@ -1092,7 +1092,7 @@ def update_progress( user_id=current_user.id, video_id=video_id, status="complete" ).filter(Download.pending_delete_at.is_(None)).first() if dl: - dl.pending_delete_at = datetime.utcnow() + timedelta(days=7) + dl.pending_delete_at = datetime.utcnow() + timedelta(hours=2) db.commit() return {"ok": True}