From 56c2e739d95dd7b64a7332e2320579925c1751a9 Mon Sep 17 00:00:00 2001
From: Ariel Costas Guerrero <ariel@costas.dev>
Date: Fri, 13 Mar 2026 10:09:30 +0100
Subject: Refactor geolocation settings across components; improve accuracy and
 timeout configurations

---
 src/frontend/app/routes/home.tsx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'src/frontend/app/routes/home.tsx')

diff --git a/src/frontend/app/routes/home.tsx b/src/frontend/app/routes/home.tsx
index 0229ad5..45d7ddf 100644
--- a/src/frontend/app/routes/home.tsx
+++ b/src/frontend/app/routes/home.tsx
@@ -47,7 +47,8 @@ export default function StopList() {
       },
       {
         enableHighAccuracy: false,
-        maximumAge: 5 * 60 * 1000,
+        maximumAge: Infinity,
+        timeout: 10000,
       }
     );
   }, []);
@@ -317,7 +318,7 @@ export default function StopList() {
                     <StopItem
                       key={stop.stopId}
                       stop={stop}
-                      showArrivals={index < 3}
+                      showArrivals={index < 5}
                     />
                   ))}
                 </ul>
-- 
cgit v1.3

