summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
Diffstat (limited to 'index.pl')
-rw-r--r--index.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.pl b/index.pl
index 637bdb1..c0b5ce5 100644
--- a/index.pl
+++ b/index.pl
@@ -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}");