summaryrefslogtreecommitdiff
path: root/lib/Travelynx.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-05-30 11:53:33 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-05-30 11:53:33 +0200
commit9442572084f93492e5586171a86974513faa4e36 (patch)
tree8678d0d95b2ab7c45a971614189fd0493594afa9 /lib/Travelynx.pm
parent2576a463db327e8fdfbf225e91ec7b775bbcad39 (diff)
DBDB: use realtime cache for carriage composition requests
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-xlib/Travelynx.pm11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm
index c47f18e..3f8641d 100755
--- a/lib/Travelynx.pm
+++ b/lib/Travelynx.pm
@@ -362,11 +362,12 @@ sub startup {
dbdb => sub {
my ($self) = @_;
state $dbdb = Travelynx::Helper::DBDB->new(
- log => $self->app->log,
- cache => $self->app->cache_iris_main,
- root_url => $self->base_url_for('/')->to_abs,
- user_agent => $self->ua,
- version => $self->app->config->{version},
+ log => $self->app->log,
+ main_cache => $self->app->cache_iris_main,
+ realtime_cache => $self->app->cache_iris_rt,
+ root_url => $self->base_url_for('/')->to_abs,
+ user_agent => $self->ua,
+ version => $self->app->config->{version},
);
}
);