mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 00:39:58 +00:00
Navitia: Increase hard-coded time-span for departures to 86400 (24h) default.
This was previously set to 1 hour causing very few or none departures to be returned for stations with little traffic.
This commit is contained in:
parent
ac3d55cc21
commit
abad1694bc
1 changed files with 1 additions and 1 deletions
|
@ -876,7 +876,7 @@ public abstract class AbstractNavitiaProvider extends AbstractNetworkProvider
|
||||||
{
|
{
|
||||||
queryUri.append("stop_points/" + stationId + "/");
|
queryUri.append("stop_points/" + stationId + "/");
|
||||||
}
|
}
|
||||||
queryUri.append("departures?from_datetime=" + dateTime + "&count=" + maxDepartures + "&duration=3600" + "&depth=0");
|
queryUri.append("departures?from_datetime=" + dateTime + "&count=" + maxDepartures + "&duration=86400" + "&depth=0");
|
||||||
|
|
||||||
final CharSequence page = httpClient.get(queryUri.toString());
|
final CharSequence page = httpClient.get(queryUri.toString());
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue