From a96ba276bcfc3c2e008bfe3e7fd136fa63236bb9 Mon Sep 17 00:00:00 2001 From: Div Arora Date: Thu, 13 Jan 2022 05:30:41 +0800 Subject: [PATCH] Check every 2s --- studio/components/to-be-cleaned/BuildingState.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/studio/components/to-be-cleaned/BuildingState.tsx b/studio/components/to-be-cleaned/BuildingState.tsx index f7fd842991e..e6ab914e968 100644 --- a/studio/components/to-be-cleaned/BuildingState.tsx +++ b/studio/components/to-be-cleaned/BuildingState.tsx @@ -40,8 +40,8 @@ const ProjectBuildingState: React.FC = () => { } React.useEffect(() => { - // check server status every 1s - checkServerInterval.current = window.setInterval(checkServer, 10000) + // check server status every 2s + checkServerInterval.current = window.setInterval(checkServer, 2000) return () => { clearInterval(checkServerInterval.current) }