Skip to content

Commit

Permalink
fix: instantiate CarpoolService with config.max_age_carpool_offers_in…
Browse files Browse the repository at this point in the history
…_days
  • Loading branch information
hbruch committed May 6, 2024
1 parent 249856c commit 11dbc17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amarillo/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def configure_enhancer_services():
stop_store.load_stop_sources()
container['stops_store'] = stop_store
container['trips_store'] = trips.TripStore(stop_store)
container['carpools'] = CarpoolService(container['trips_store'])
container['carpools'] = CarpoolService(container['trips_store'], config.max_age_carpool_offers_in_days)

logger.info("Restore carpools...")

Expand Down

0 comments on commit 11dbc17

Please sign in to comment.