From a623f8f5688565b333850eda8c1ba1e6595f48c0 Mon Sep 17 00:00:00 2001 From: Grant Date: Mon, 15 Jul 2024 12:31:43 -0600 Subject: [PATCH] bump matrix notification check to 60s instead of 1s (what was i thinking) --- packages/client/src/contexts/ChatContext.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/contexts/ChatContext.tsx b/packages/client/src/contexts/ChatContext.tsx index 7ca6165..366da4b 100644 --- a/packages/client/src/contexts/ChatContext.tsx +++ b/packages/client/src/contexts/ChatContext.tsx @@ -82,7 +82,7 @@ export const ChatContext = ({ children }: PropsWithChildren) => { useEffect(() => { checkForAccessToken(); - checkNotifs.current = setInterval(checkForNotifs, 1000); + checkNotifs.current = setInterval(checkForNotifs, 1000 * 60); return () => { window.removeEventListener("focus", handleWindowFocus);