summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-08-11 16:33:00 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-08-11 16:33:00 +0200
commitdb42b8ca5476f8b5e6197e96040c5f350db928d1 (patch)
tree3f516bb428ad80468aa0702d46e03a3122d7bace /index.pl
parent9c5f23e2635795995eaa465dcee9e2d2d96e9e71 (diff)
rename title/description to infoscreen (we're not just a fakedisplay anymore)
Diffstat (limited to 'index.pl')
-rw-r--r--index.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/index.pl b/index.pl
index a835c69..52f7851 100644
--- a/index.pl
+++ b/index.pl
@@ -18,7 +18,7 @@ sub get_results_for {
my ( $backend, $station, %opt ) = @_;
my $cache = Cache::File->new(
- cache_root => '/tmp/db-fake',
+ cache_root => '/tmp/db-fakedisplay',
default_expires => $refresh_interval . ' sec',
lock_level => Cache::File::LOCK_LOCAL(),
);
@@ -166,7 +166,7 @@ sub handle_request {
: $Travel::Status::DE::DeutscheBahn::VERSION;
$self->stash( departures => [] );
- $self->stash( title => 'db-fakedisplay' );
+ $self->stash( title => 'db-infoscreen' );
$self->stash( version => $VERSION );
if ( not( $template ~~ [qw[clean json marudor_v1 marudor multi single]] ) )
@@ -678,7 +678,7 @@ app->config(
hypnotoad => {
accepts => 10,
listen => ['http://*:8092'],
- pid_file => '/tmp/db-fake.pid',
+ pid_file => '/tmp/db-fakedisplay.pid',
workers => $ENV{VRRFAKEDISPLAY_WORKERS} // 2,
},
);