From 4676dba038d065e465dd176776e59576da9ec2e4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 7 Oct 2016 20:14:14 +0200 Subject: pass cache to newly created children. derp. --- lib/Travel/Status/DE/IRIS.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/Travel/Status') diff --git a/lib/Travel/Status/DE/IRIS.pm b/lib/Travel/Status/DE/IRIS.pm index e8a39c6..d6429f9 100644 --- a/lib/Travel/Status/DE/IRIS.pm +++ b/lib/Travel/Status/DE/IRIS.pm @@ -69,6 +69,8 @@ sub new { developer_mode => $self->{developer_mode}, lookahead => $self->{lookahead}, station => $ref->{uic}, + main_cache => $self->{main_cache}, + rt_cache => $self->{rt_cache}, with_related => 0, ); if ( not $ref_status->errstr ) { -- cgit v1.2.3