Remove behavior of ETA clearing when shuttle is approaching stop

This commit is contained in:
2025-11-18 19:07:06 -08:00
parent 0af54cd48f
commit a2f76703ea

View File

@@ -182,11 +182,6 @@ export class RedisSelfUpdatingETARepository extends BaseRedisETARepository imple
lastArrival,
currentArrival,
}: WillArriveAtStopPayload) {
const etas = await this.getEtasForShuttleId(currentArrival.shuttleId);
for (const eta of etas) {
await this.removeEtaIfExists(eta.shuttleId, eta.stopId);
}
// only update time traveled if last arrival exists
if (lastArrival) {
// disallow cases where this gets triggered multiple times