Commit c0a8eb9e authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

workerpool: Log when waiting for a thread

Reviewed-by: iustinp
parent b1b6ea87
...@@ -288,6 +288,7 @@ class WorkerPool(object): ...@@ -288,6 +288,7 @@ class WorkerPool(object):
self._lock.release() self._lock.release()
try: try:
for worker in termworkers: for worker in termworkers:
logging.debug("Waiting for thread %s", worker.getName())
worker.join() worker.join()
finally: finally:
self._lock.acquire() self._lock.acquire()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment