Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide option GTFS_RANGE to configure schedules included #97

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

dzfranklin
Copy link
Contributor

The environment variable GTFS_RANGE will configure the schedules included. If not specified the default is the previously hardcoded value, 3 months.

Because mysql makes it annoying to provide an interval as an argument I just string interpolate it. The docs have a warning not to allow untrusted input.

@linusnorton
Copy link
Collaborator

one comment on a simpler way

The environment variable GTFS_RANGE will configure the schedules
included. If not specified the default is the previously hardcoded
value, 3 months.

Because mysql makes it annoying to provide an interval as an argument I
just string interpolate it. The docs have a warning not to allow
untrusted input.
@linusnorton linusnorton merged commit 2a8b286 into planarnetwork:master Aug 7, 2024
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