diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-01-16 17:42:48 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-01-16 17:42:48 +0100 |
commit | 5b9025c8158ef0c9b6c4fe72c71d877f37f6bbe2 (patch) | |
tree | 42b225f1341c4dd4150f1ba896e17600173959f7 /index.pl | |
parent | 038b7d597eaf952165a1355a13d3e1afb23a2757 (diff) |
index: explicitly set lock level just to be safe
Diffstat (limited to 'index.pl')
-rw-r--r-- | index.pl | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |