Skip to content
Snippets Groups Projects
Commit 1b09e112 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

IRIS: pass iris_base on to child instances used for meta fetching

parent 191789f3
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ sub new {
iris_base => $opt{iris_base}
// 'https://iris.noncd.db.de/iris-tts/timetable',
keep_transfers => $opt{keep_transfers},
lookahead => $opt{lookahead} // ( 2 * 60 ),
lookahead => $opt{lookahead} // ( 2 * 60 ),
lookbehind => $opt{lookbehind} // ( 0 * 60 ),
main_cache => $opt{main_cache},
rt_cache => $opt{realtime_cache},
......@@ -90,6 +90,7 @@ sub new {
my $ref_status = Travel::Status::DE::IRIS->new(
datetime => $self->{datetime},
developer_mode => $self->{developer_mode},
iris_base => $self->{iris_base},
keep_transfers => $self->{keep_transfers},
lookahead => $self->{lookahead},
lookbehind => $self->{lookbehind},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment