From 495fe139c1ef279c25ece2b11242a5a03d35fd62 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 5 Jan 2020 13:05:06 +0100 Subject: Use RT cache for polylines, as they contain realtime data --- lib/DBInfoscreen/Controller/Map.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/DBInfoscreen/Controller/Map.pm b/lib/DBInfoscreen/Controller/Map.pm index 6530309..7654d44 100644 --- a/lib/DBInfoscreen/Controller/Map.pm +++ b/lib/DBInfoscreen/Controller/Map.pm @@ -15,7 +15,7 @@ sub get_hafas_polyline_p { my $url = "https://2.db.transport.rest/trips/${trip_id}?lineName=${line}&polyline=true"; - my $cache = $self->app->cache_iris_main; + my $cache = $self->app->cache_iris_rt; my $promise = Mojo::Promise->new; if ( my $content = $cache->thaw($url) ) { -- cgit v1.2.3