Closed Kleisli closed 6 years ago
Because Requests with one or more via stations can take more than 5 seconds. e.g. https://transport.opendata.ch/v1/connections?from=8500010&to=8505300&time=06%3A00&date=31.07.2017&direct=0&limit=6&via%5B%5D=8509000&via%5B%5D=8509369
You can actually set the timeout in the config.php by creating a Buzz $client with a custom timeout setting, have a look at the config.php we use for transport.opendata.ch as an example.
config.php
Because Requests with one or more via stations can take more than 5 seconds. e.g. https://transport.opendata.ch/v1/connections?from=8500010&to=8505300&time=06%3A00&date=31.07.2017&direct=0&limit=6&via%5B%5D=8509000&via%5B%5D=8509369