From f9ac620dbe7eede2289af9e61596166414762871 Mon Sep 17 00:00:00 2001 From: Asaf Korem Date: Mon, 27 Jan 2025 17:35:28 +0200 Subject: [PATCH] fix: increase snapshot sampling intervals. --- src/utils/SnapshotManager.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/SnapshotManager.ts b/src/utils/SnapshotManager.ts index dc90471..dfe9241 100644 --- a/src/utils/SnapshotManager.ts +++ b/src/utils/SnapshotManager.ts @@ -2,9 +2,9 @@ import { TestingFrameworkDriver } from "@/types"; import { SnapshotComparator } from "@/utils/SnapshotComparator"; import crypto from "crypto"; -const DEFAULT_POLL_INTERVAL = 100; // ms -const DEFAULT_TIMEOUT = 3000; // ms -const DEFAULT_STABILITY_THRESHOLD = 0.1; +const DEFAULT_POLL_INTERVAL = 500; // ms +const DEFAULT_TIMEOUT = 5000; // ms +const DEFAULT_STABILITY_THRESHOLD = 0.05; export class SnapshotManager { constructor(