Commit 5b9025c8 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

index: explicitly set lock level just to be safe

parent 038b7d59
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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