0

Adds explicit pool close/join in handleEntities to fix possible hang (#1817)

This commit is contained in:
Andy Martin
2020-08-31 22:00:58 +01:00
parent 91ea87447a
commit aac8d11162

View File

@@ -217,6 +217,8 @@ def handleEntities(rset, config, config_path, filters, markers):
results = pool.map(parseBucketChunks, ((buck, rset, filters) for buck in buckets))
pool.close()
pool.join()
logging.info("All the threads completed.")
for marker_dict in results: