From 94fed115a19918788d7ee963105db06c04b6cf45 Mon Sep 17 00:00:00 2001 From: Billy Vong Date: Thu, 12 Jan 2023 11:38:52 -0500 Subject: [PATCH] feat(replay): Lower the flush max delay from 15 seconds to 5 seconds This means that we will only wait 5 seconds before flushing --- packages/replay/src/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/replay/src/constants.ts b/packages/replay/src/constants.ts index 187d729cb6f5..3c1dfab6eb07 100644 --- a/packages/replay/src/constants.ts +++ b/packages/replay/src/constants.ts @@ -31,7 +31,7 @@ export const MASK_ALL_TEXT_SELECTOR = 'body *:not(style), body *:not(script)'; /** Default flush delays */ export const DEFAULT_FLUSH_MIN_DELAY = 5_000; -export const DEFAULT_FLUSH_MAX_DELAY = 15_000; +export const DEFAULT_FLUSH_MAX_DELAY = 5_000; export const INITIAL_FLUSH_DELAY = 5_000; export const RETRY_BASE_INTERVAL = 5000;