raise refresh interval during outage

This commit is contained in:
Brandon Thomas committed 2023-03-08 18:19:14 -05:00
1 parent 54792270d6
commit a2eb315176
1 file changed
+3 -1
@@ -89,7 +89,9 @@ function TopNav(props: Props) {
}
}
};
const interval = setInterval(async () => fetch(), 15000);
// TODO: We're having an outage and need to lower this.
//const interval = setInterval(async () => fetch(), 15000);
const interval = setInterval(async () => fetch(), 5 * 60 * 1000);
fetch();
return () => clearInterval(interval);
}, [pendingTtsJobs]);