From: Sarah Hoffmann Date: Fri, 15 May 2020 16:48:01 +0000 (+0200) Subject: nominatim: always use deadlock-protected wait X-Git-Tag: v3.5.0~9 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/431948d7683b9ff6a3f8db604b10fda069603d7c nominatim: always use deadlock-protected wait Fixes #1785. --- diff --git a/nominatim/nominatim.py b/nominatim/nominatim.py index 0db0777d..3e9c2f16 100755 --- a/nominatim/nominatim.py +++ b/nominatim/nominatim.py @@ -297,7 +297,7 @@ class Indexer(object): if command_stat > 100000: for t in self.threads: while not t.is_done(): - wait_select(t.conn) + t.wait() t.connect() command_stat = 0 ready = self.threads