Skip to content

Commit

Permalink
fix: increase snapshot sampling intervals.
Browse files Browse the repository at this point in the history
  • Loading branch information
asafkorem committed Jan 27, 2025
1 parent bb60e69 commit f9ac620
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/utils/SnapshotManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit f9ac620

Please sign in to comment.