Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[web] Change live photo clubbing threshold to 2 minutes

Manav Rathi391ccb051c45
diff --git a/web/apps/photos/src/services/upload/uploadManager.ts b/web/apps/photos/src/services/upload/uploadManager.ts
index 23e7d7a97e..1028f84aed 100644
--- a/web/apps/photos/src/services/upload/uploadManager.ts
+++ b/web/apps/photos/src/services/upload/uploadManager.ts
@@ -977,7 +977,7 @@ const areLivePhotoAssets = async (
);
if (!fDate || !gDate) return false;
const secondDelta = Math.abs(fDate - gDate) / 1e6;
- if (secondDelta > 5 * 60 /* 5 mins */) return false;
+ if (secondDelta > 2 * 60 /* 2 mins */) return false;
return true;
};