bump matrix notification check to 60s instead of 1s
(what was i thinking)
This commit is contained in:
parent
c012664613
commit
a623f8f568
|
@ -82,7 +82,7 @@ export const ChatContext = ({ children }: PropsWithChildren) => {
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
checkForAccessToken();
|
checkForAccessToken();
|
||||||
checkNotifs.current = setInterval(checkForNotifs, 1000);
|
checkNotifs.current = setInterval(checkForNotifs, 1000 * 60);
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
window.removeEventListener("focus", handleWindowFocus);
|
window.removeEventListener("focus", handleWindowFocus);
|
||||||
|
|
Loading…
Reference in New Issue