indexer: reset query counter

Reset the counter for queries after the asynchronous connections
have been reopened.
This commit is contained in:
Sarah Hoffmann 2021-04-21 10:33:45 +02:00
parent 696c50459f
commit f7e4aa51d3

View File

@ -62,6 +62,7 @@ class WorkerPool:
thread.wait()
thread.connect()
ready = self.threads
command_stat = 0
else:
_, ready, _ = select.select([], self.threads, [])