From 5b9025c8158ef0c9b6c4fe72c71d877f37f6bbe2 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 16 Jan 2015 17:42:48 +0100 Subject: index: explicitly set lock level just to be safe --- index.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/index.pl b/index.pl index f2a2394..f76991c 100644 --- a/index.pl +++ b/index.pl @@ -20,6 +20,7 @@ sub get_results_for { my $cache = Cache::File->new( cache_root => '/tmp/db-fake', default_expires => $refresh_interval . ' sec', + lock_level => Cache::File::LOCK_LOCAL(), ); # Cache::File has UTF-8 problems, so strip it (and any other potentially -- cgit v1.2.3