mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-10 22:04:58 +03:00
indexer: reset query counter
Reset the counter for queries after the asynchronous connections have been reopened.
This commit is contained in:
parent
696c50459f
commit
f7e4aa51d3
@ -62,6 +62,7 @@ class WorkerPool:
|
||||
thread.wait()
|
||||
thread.connect()
|
||||
ready = self.threads
|
||||
command_stat = 0
|
||||
else:
|
||||
_, ready, _ = select.select([], self.threads, [])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user