diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-02-05 15:10:41 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-02-05 15:10:41 +0100 |
commit | 217efdb6c93dafcacb8a3ad501ce924dcbe26e2d (patch) | |
tree | 21cb7774374367a8caafdfbdac9d33659dc4edf7 | |
parent | 23eb0840492beeba17331dc02e5d8cc4722bdb3f (diff) |
Allow cache root to be set via env
-rw-r--r-- | index.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -99,7 +99,7 @@ helper barplot_filters => sub { my $dbh = $self->app->dbh; my $cache = Cache::File->new( - cache_root => '/tmp/dbdb', + cache_root => $ENV{DBDB_CACHE} // '/tmp/dbdb', default_expires => '12 hours', lock_level => Cache::File::LOCK_LOCAL(), ); |