mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-24 08:01:36 +00:00
pool.join required to wait for processes to finish (#436)
This commit is contained in:
@@ -10016,6 +10016,7 @@ def run_batch(items):
|
||||
if item[0] == u'commit-batch':
|
||||
sys.stderr.write(u'commit-batch - waiting for running processes to finish before proceeding...')
|
||||
pool.close()
|
||||
pool.join()
|
||||
pool = Pool(num_worker_threads, init_gam_worker)
|
||||
sys.stderr.write(u'done with commit-batch\n')
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user