From e2253bc5bacc8fd34c69834fab3201dc76a080c3 Mon Sep 17 00:00:00 2001 From: ameer2468 <33054370+ameer2468@users.noreply.github.com> Date: Thu, 27 Jun 2024 15:58:26 +0300 Subject: [PATCH] [ENG-1789] Plausible ping every 10 minutes (#2572) Update index.tsx --- interface/app/$libraryId/Layout/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/app/$libraryId/Layout/index.tsx b/interface/app/$libraryId/Layout/index.tsx index 3e177b07c..dd9e76c83 100644 --- a/interface/app/$libraryId/Layout/index.tsx +++ b/interface/app/$libraryId/Layout/index.tsx @@ -153,7 +153,7 @@ function usePlausible() { useEffect(() => { const interval = setInterval(() => { plausibleEvent({ event: { type: 'ping' } }); - }, 270 * 1000); + }, 600 * 1000); // 10 minutes return () => clearInterval(interval); }, [plausibleEvent]);