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

Prolong default http_timeout #732

Merged
merged 2 commits into from
Feb 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ timetable: # if not set, no timetable will be loaded
merge_dupes_inter_src: false # duplicates withing different datasets will be merged
link_stop_distance: 100 # stops will be linked by footpaths if they're less than X meters (default=100m) apart
update_interval: 60 # real-time updates are polled every `update_interval` seconds
http_timeout: 10 # timeout for the HTTP server to respond with a package
http_timeout: 30 # maximum time in seconds the real-time feed download may take
incremental_rt_update: false # false = real-time updates are applied to a clean slate, true = no data will be dropped
max_footpath_length: 15 # maximum footpath length when transitively connecting stops or for routing footpaths if `osr_footpath` is set to true
datasets: # map of tag -> dataset
Expand Down
4 changes: 2 additions & 2 deletions include/motis/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ struct config {
bool merge_dupes_inter_src_{false};
unsigned link_stop_distance_{100U};
unsigned update_interval_{60};
unsigned http_timeout_{10};
unsigned http_timeout_{30};
bool incremental_rt_update_{false};
bool use_osm_stop_coordinates_{false};
bool extend_missing_footpaths_{false};
Expand Down Expand Up @@ -116,7 +116,7 @@ struct config {
std::map<std::string, feed> feeds_{};
std::map<std::string, restrictions> default_restrictions_{};
unsigned update_interval_{60};
unsigned http_timeout_{10};
unsigned http_timeout_{30};
unsigned cache_size_{50};
std::optional<std::string> proxy_{};
};
Expand Down
2 changes: 1 addition & 1 deletion test/config_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ osm: europe-latest.osm.pbf
merge_dupes_inter_src: false
link_stop_distance: 100
update_interval: 60
http_timeout: 10
http_timeout: 30
incremental_rt_update: false
use_osm_stop_coordinates: false
extend_missing_footpaths: false
Expand Down
4 changes: 2 additions & 2 deletions ui/src/lib/i18n/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ const translations: Translations = {
advancedSearchOptions: 'Optionen',
selectModes: 'Öffentliche Verkehrsmittel auswählen',
defaultSelectedModes: 'Alle Verkehrsmittel',
wheelchair: 'Barrierfreie Umstiege',
bikeRental: 'Sharing-Fahrzeuge zulassen',
wheelchair: 'Barrierefreie Umstiege',
bikeRental: 'Sharing-Fahrzeuge berücksichtigen',
bikeCarriage: 'Fahrradmitnahme',
unreliableOptions: 'Je nach Datenverfügbarkeit können diese Optionen unzuverlässig sein.',
WALK: 'Zu Fuß',
Expand Down
Loading