summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-03-20 15:35:41 +0100
committerDaniel Friesel <derf@finalrewind.org>2016-03-20 15:35:41 +0100
commitd0cd5918f940b286ffa7010f058ed2ef660e39f7 (patch)
treee0a43fbbea75f8424d5cd717c7ce6a82f4e06866
parent217efdb6c93dafcacb8a3ad501ce924dcbe26e2d (diff)
more sensible cache name defaults
-rwxr-xr-xbin/iris-delay-stats2
-rw-r--r--index.pl2
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(),
);