dystonse / dystonse-gtfs-data

Read gtfs and gtfs-realtime data, write them into a database, perform and export analyses and make predictions based on them.
9 stars 2 forks source link

Reload schedule when a new file appears #24

Closed lenaschimmel closed 3 years ago

lenaschimmel commented 4 years ago

Currently, the monitor reads the most recent schedule upon startup and keeps using it forever. This has severely affected the monitors output, e.g. not showing any departures for Bremen Hbf after running more than two weeks without a restart.

We already have a FileCache<Gtfs> in our code elsewhere, but we are not using it (correctly) for the monitor.

Such a !"§$%&/( bug.

facepalm

flauschzelle commented 3 years ago

We fixed that with this commit.