nominatim: always use deadlock-protected wait

Fixes #1785.
This commit is contained in:
Sarah Hoffmann
2020-05-15 18:48:01 +02:00
parent f69c3d2b66
commit 431948d768

View File

@@ -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