summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Controller
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-01-05 13:05:06 +0100
committerDaniel Friesel <derf@finalrewind.org>2020-01-05 13:05:06 +0100
commit495fe139c1ef279c25ece2b11242a5a03d35fd62 (patch)
treea22a3670c456c983d303406bba86e187ca67cc27 /lib/DBInfoscreen/Controller
parent1d7270a4c0e96ba25a65d6c080033f87b63ae6b0 (diff)
Use RT cache for polylines, as they contain realtime data2.5.5
Diffstat (limited to 'lib/DBInfoscreen/Controller')
-rw-r--r--lib/DBInfoscreen/Controller/Map.pm2
1 files changed, 1 insertions, 1 deletions
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) ) {