diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-01-16 17:43:22 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-01-16 17:43:22 +0100 |
commit | 0c39b8492cf9d078aedb829a40f5a887dea98c1b (patch) | |
tree | b9754f7c4ac06135b2ff3a2117e9f69c17588dfe | |
parent | dec82daec7c69e6d4dc4f7571bef6f2276ea5ffa (diff) |
index: explicitly set cache lock level just to be safe
-rw-r--r-- | index.pl | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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}"); |