jamespfennell / transiter

Web service for transit data
https://demo.transiter.dev
MIT License
55 stars 6 forks source link

Support daily feed updates #109

Closed jamespfennell closed 12 months ago

jamespfennell commented 1 year ago

Currently feed updates can only be done periodically. This is optimized for GTFS realtime feeds, where the period is 5 seconds. For GTFS static updates this is not great, as the period should be 24 hours probably, but then one has no control over when the update happens. Given the amount of data being generated, it should happen at night.

We should support a daily update schedule with a specified time e.g. 14:00. The timezone can also be specified manually; if not specified, it defaults to the timezone of the transit system which we can get via the agency resource. We should then have the following defaults: