From 58deca72bc7f90b9a1ee6fcc8fc24532794ad881 Mon Sep 17 00:00:00 2001 From: Arne Becker Date: Fri, 2 Feb 2024 16:03:57 +0000 Subject: [PATCH] Make multiple readers in parallel work --- .../Production/Pipeline/AlphaFold/InsertProteinFeatures.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Bio/EnsEMBL/Production/Pipeline/AlphaFold/InsertProteinFeatures.pm b/modules/Bio/EnsEMBL/Production/Pipeline/AlphaFold/InsertProteinFeatures.pm index 059ac4a3e..e2ce1cd37 100644 --- a/modules/Bio/EnsEMBL/Production/Pipeline/AlphaFold/InsertProteinFeatures.pm +++ b/modules/Bio/EnsEMBL/Production/Pipeline/AlphaFold/InsertProteinFeatures.pm @@ -148,7 +148,7 @@ sub run { my $alpha_db = new KyotoCabinet::DB; # Set 4 GB mmap size $alpha_db->open("$idx_dir_al#msiz=$mapsize_gb#opts=l", - $alpha_db->OREADER + $alpha_db->OREADER | $alpha_db->ONOLOCK, ) or die "Error opening DB: " . $alpha_db->error(); my $gifts_host = $self->param('gifts_host') // 'pgsql-hlvm-051.ebi.ac.uk';