diff --git a/src/gam/__init__.py b/src/gam/__init__.py index 9b94a4d8..96e93eb5 100755 --- a/src/gam/__init__.py +++ b/src/gam/__init__.py @@ -11244,7 +11244,7 @@ def run_batch(items): ) pool.close() pool.join() - pool = mp_pool(num_worker_threads, init_gam_worker, maxtasksperchild=200, initargs=(1,)) + pool = mp_pool(num_worker_threads, init_gam_worker, maxtasksperchild=200, initargs=(l,)) sys.stderr.write( 'commit-batch - running processes finished, proceeding\n') continue