forked from hans/Nominatim
indexer: reset query counter
Reset the counter for queries after the asynchronous connections have been reopened.
This commit is contained in:
@@ -62,6 +62,7 @@ class WorkerPool:
|
||||
thread.wait()
|
||||
thread.connect()
|
||||
ready = self.threads
|
||||
command_stat = 0
|
||||
else:
|
||||
_, ready, _ = select.select([], self.threads, [])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user