Create professional demos and 3D mockups in seconds, directly in your browser
refactor: remove outdated comments from cleanupOldRecording function
CristianOlivera1b3e69dd0c48f
diff --git a/hooks/useScreenRecording.ts b/hooks/useScreenRecording.tsindex 47e708c..adca0e2 100644--- a/hooks/useScreenRecording.ts+++ b/hooks/useScreenRecording.ts@@ -17,8 +17,6 @@ function generateVideoId(): string {return `vid_${Date.now()}_${Math.random().toString(36).substring(2, 9)}`;}-// Delete the currentVideo record if it is older than 7 days.-// openvidDB is only a recording→editor handoff cache; stale blobs waste storage.async function cleanupOldRecording(db: IDBDatabase): Promise<void> {const SEVEN_DAYS_MS = 7 * 24 * 60 * 60 * 1000;const cutoff = Date.now() - SEVEN_DAYS_MS;