Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix: retain full recovery cohort

Richie McIlroyaa94e393e507
diff --git a/apps/web/lib/desktop-segments-recovery.ts b/apps/web/lib/desktop-segments-recovery.ts
index 29403d5eb..4f2f08889 100644
--- a/apps/web/lib/desktop-segments-recovery.ts
+++ b/apps/web/lib/desktop-segments-recovery.ts
@@ -415,7 +415,7 @@ export async function recoverStaleDesktopSegments({
.where(
and(
sql`JSON_UNQUOTE(JSON_EXTRACT(${videos.source}, '$.type')) = 'desktopSegments'`,
- gte(videoUploads.startedAt, sql`UTC_TIMESTAMP() - INTERVAL 26 HOUR`),
+ gte(videoUploads.startedAt, sql`UTC_TIMESTAMP() - INTERVAL 28 HOUR`),
lte(videos.createdAt, staleBefore),
or(
lte(videoUploads.updatedAt, staleBefore),