From f49a2511cfc3c0745df21305ed9446318d2624ab Mon Sep 17 00:00:00 2001 From: alilaherty Date: Tue, 24 Oct 2023 23:13:58 +1000 Subject: [PATCH] reasonable refresh rate lol --- .../frontend-app/src/components/widgets/SuggestedTimeWidget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui-display/frontend-app/src/components/widgets/SuggestedTimeWidget.js b/ui-display/frontend-app/src/components/widgets/SuggestedTimeWidget.js index e0d6423..de998ad 100644 --- a/ui-display/frontend-app/src/components/widgets/SuggestedTimeWidget.js +++ b/ui-display/frontend-app/src/components/widgets/SuggestedTimeWidget.js @@ -44,7 +44,7 @@ export default function SuggestedTimeWidget() { const interval = setInterval(()=>{ fetchData(); //fetchTime(); - },500); + },5000); /* DEFAULT BEHAVIOUR: GET SINGLE RECOMMENDATION OF NEXT NEAREST TIME */ const fetchData = async () => { console.log('data fetched');