Unverified Commit 1496f452 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

DBRIS get_departures_p: request up to 40 vias (+2 duplicates)

This is in preparation for checkin suggestion support for the dbris backend.
Needs Travel::Status::DE::DBRIS 0.19 (unreleased); prior versions simply ignore
this key and always request 5 vias.
parent 779abeac
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -119,6 +119,7 @@ sub get_departures_p {
	return Travel::Status::DE::DBRIS->new_p(
		station        => $opt{station},
		datetime       => $when,
		num_vias       => 42,
		cache          => $self->{realtime_cache},
		promise        => 'Mojo::Promise',
		user_agent     => $self->get_agent->request_timeout(10),