summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-01-16 17:43:22 +0100
committerDaniel Friesel <derf@finalrewind.org>2015-01-16 17:43:22 +0100
commit0c39b8492cf9d078aedb829a40f5a887dea98c1b (patch)
treeb9754f7c4ac06135b2ff3a2117e9f69c17588dfe
parentdec82daec7c69e6d4dc4f7571bef6f2276ea5ffa (diff)
index: explicitly set cache lock level just to be safe
-rw-r--r--index.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.pl b/index.pl
index 637bdb1..c0b5ce5 100644
--- a/index.pl
+++ b/index.pl
@@ -34,6 +34,7 @@ sub get_results {
my $cache = Cache::File->new(
cache_root => '/tmp/vrr-fake',
default_expires => "${expiry} sec",
+ lock_level => Cache::File::LOCK_LOCAL(),
);
my $sstr = ("${backend} _ ${stop} _ ${city}");