From 431948d7683b9ff6a3f8db604b10fda069603d7c Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Fri, 15 May 2020 18:48:01 +0200 Subject: [PATCH] nominatim: always use deadlock-protected wait Fixes #1785. --- nominatim/nominatim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5