summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.pl1
1 files changed, 1 insertions, 0 deletions
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