mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-17 15:15:17 +00:00
raise refresh interval during outage
This commit is contained in:
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]);
|
||||
|
||||
Reference in new issue
Block a user