Skip to content

Commit

Permalink
increased polling interval
Browse files Browse the repository at this point in the history
  • Loading branch information
jmacadam committed Feb 19, 2024
1 parent 22a93af commit 7734c19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/src/components/RenderLevel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ const RenderLevel: React.FC<{simId: string}> = ({ simId }) => {
}
};

const interval = setInterval(fetchData, 6000);
fetchData();
const interval = setInterval(fetchData, 12000);

return () => {
isMounted = false;
Expand Down

0 comments on commit 7734c19

Please sign in to comment.