From 0c39b8492cf9d078aedb829a40f5a887dea98c1b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 16 Jan 2015 17:43:22 +0100 Subject: index: explicitly set cache lock level just to be safe --- index.pl | 1 + 1 file changed, 1 insertion(+) 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}"); -- cgit v1.2.3