Skip to content

Commit

Permalink
chore: gtfs-api: increase default query cost limit to 3m
Browse files Browse the repository at this point in the history
  • Loading branch information
derhuerst committed Oct 17, 2024
1 parent 16b687d commit 25cd296
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ IPL_GTFS_IMPORTER_NETWORK=ipl_ipl
# Note: don't modify this without also adapting etc/gtfs/postprocessing.d/* accordingly.
IPL_GTFS_IMPORTER_SCHEMA=api
# Cost (as calculated by the PostgreSQL query planner) limit to all queries that can be made via gtfs-api.
IPL_GTFS_API_COST_LIMIT=1000000
# 3.000.000 is roughly equivalent to 0.5s-15s.
IPL_GTFS_API_COST_LIMIT=3000000

# `postgrest` role used by the gtfs-api service (PostgREST)
IPL_GTFS_DB_POSTGREST_USER=postgrest
Expand Down

0 comments on commit 25cd296

Please sign in to comment.