From d0cd5918f940b286ffa7010f058ed2ef660e39f7 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 20 Mar 2016 15:35:41 +0100 Subject: more sensible cache name defaults --- bin/iris-delay-stats | 2 +- index.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/iris-delay-stats b/bin/iris-delay-stats index 5afbc62..12124b9 100755 --- a/bin/iris-delay-stats +++ b/bin/iris-delay-stats @@ -18,7 +18,7 @@ my $dbh = DBI->connect( "dbi:Pg:dbname=$dbname;host=localhost;port=5432", 'dbdb', $ENV{DBDB_PASSWORD} ); my $cache = Cache::File->new( - cache_root => '/tmp/dbdb-cache', + cache_root => '/tmp/dbdb-crawler-cache', default_expires => '2 hours', lock_level => Cache::File::LOCK_LOCAL(), ); diff --git a/index.pl b/index.pl index ca43487..fec01fe 100644 --- a/index.pl +++ b/index.pl @@ -99,7 +99,7 @@ helper barplot_filters => sub { my $dbh = $self->app->dbh; my $cache = Cache::File->new( - cache_root => $ENV{DBDB_CACHE} // '/tmp/dbdb', + cache_root => $ENV{DBDB_CACHE} // '/tmp/dbdb-web-cache', default_expires => '12 hours', lock_level => Cache::File::LOCK_LOCAL(), ); -- cgit v1.2.3