]> git.openstreetmap.org Git - nominatim.git/commitdiff
do not run rank 0 objects in parallel
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 22 Aug 2020 17:51:19 +0000 (19:51 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 22 Aug 2020 17:51:19 +0000 (19:51 +0200)
Waterways are at address rank 0 and do linking. This might lead to
deadlocks.

nominatim/nominatim.py

index f46af9ffa6d652060d1221da83bfc4b8f2ef00b3..0819bb11fa1891e2054f8ce3a349d27cad3a9c8b 100755 (executable)
@@ -137,7 +137,7 @@ class Indexer(object):
 
 
         if self.maxrank == 30:
-            self.index(RankRunner(0), 20)
+            self.index(RankRunner(0))
             self.index(InterpolationRunner(), 20)
 
         self.index(RankRunner(self.maxrank), 20)