diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-09-16 17:21:49 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-09-16 17:21:49 +0200 |
commit | 2ca4a50194108d378b961fb8ddc9a0455933d96d (patch) | |
tree | e9e7dee370b54f473bdfcaad543f085dd16a92d4 /lib/DBInfoscreen.pm | |
parent | 65aab8c7f827d0c0edf1249ea30c287c5f91ace8 (diff) |
all requests but IRIS are async now
Diffstat (limited to 'lib/DBInfoscreen.pm')
-rw-r--r-- | lib/DBInfoscreen.pm | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm index 3b3d5c1..155a6d0 100644 --- a/lib/DBInfoscreen.pm +++ b/lib/DBInfoscreen.pm @@ -116,11 +116,12 @@ sub startup { wagonorder => sub { my ($self) = @_; state $hafas = DBInfoscreen::Helper::Wagonorder->new( - log => $self->app->log, - cache => $self->app->cache_iris_main, - root_url => $self->url_for('/')->to_abs, - user_agent => $self->ua, - version => $VERSION, + log => $self->app->log, + main_cache => $self->app->cache_iris_main, + realtime_cache => $self->app->cache_iris_rt, + root_url => $self->url_for('/')->to_abs, + user_agent => $self->ua, + version => $VERSION, ); } ); |