From d921327e17db24645b677d7e7efcc539f0b13962 Mon Sep 17 00:00:00 2001 From: Vittorio Palmisano Date: Thu, 7 Sep 2023 15:40:20 +0200 Subject: [PATCH] Fix page metrics evaluation --- src/session.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/session.ts b/src/session.ts index 2a642a2..d26d8a0 100644 --- a/src/session.ts +++ b/src/session.ts @@ -1506,7 +1506,7 @@ window.GET_DISPLAY_MEDIA_CROP = "${crop}"; const lastMetrics = this.pagesMetrics.get(pageIndex) if (lastMetrics?.Timestamp) { const elapsedTime = metrics.Timestamp - lastMetrics.Timestamp - if (elapsedTime > 1000) { + if (elapsedTime > 10) { const durationDiff = metricsTotalDuration(metrics) - metricsTotalDuration(lastMetrics)