Skip to content

Clean up old realtime data on ingestion - #32

Merged
chtitux merged 1 commit into
mainfrom
claude/cleanup-realtime-data-01WoyyGUomRfqytKJrKJUHwA
Nov 27, 2025
Merged

chtitux merged 1 commit into
mainfrom
claude/cleanup-realtime-data-01WoyyGUomRfqytKJrKJUHwA

Conversation

@chtitux

@chtitux chtitux commented Nov 27, 2025

Copy link
Copy Markdown
Contributor

Wrap realtime data ingestion in a transaction that deletes all existing data from rt_alerts, rt_vehicle_positions, rt_trip_updates, and rt_stop_time_updates before inserting fresh data. This ensures stale realtime entries that are no longer in the feed are cleaned up.

Wrap realtime data ingestion in a transaction that deletes all
existing data from rt_alerts, rt_vehicle_positions, rt_trip_updates,
and rt_stop_time_updates before inserting fresh data. This ensures
stale realtime entries that are no longer in the feed are cleaned up.
@chtitux
chtitux merged commit 18ed62e into main Nov 27, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants