diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-03-20 15:35:41 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-03-20 15:35:41 +0100 |
commit | d0cd5918f940b286ffa7010f058ed2ef660e39f7 (patch) | |
tree | e0a43fbbea75f8424d5cd717c7ce6a82f4e06866 | |
parent | 217efdb6c93dafcacb8a3ad501ce924dcbe26e2d (diff) |
more sensible cache name defaults
-rwxr-xr-x | bin/iris-delay-stats | 2 | ||||
-rw-r--r-- | 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(), ); @@ -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(), ); |