Skip to content

Add cunks to parllel_loop_workers#35

Open
avdudchenko wants to merge 1 commit into
watertap-org:mainfrom
avdudchenko:chunk_loop
Open

Add cunks to parllel_loop_workers#35
avdudchenko wants to merge 1 commit into
watertap-org:mainfrom
avdudchenko:chunk_loop

Conversation

@avdudchenko

Copy link
Copy Markdown
Contributor

add chunk sizing for loop workers. This ensures that if there is a large loop to run on few workers the jobs are chunked, preventing ProcessPoolExecutor from chocking.

The user can specify chunk size, or it is automatically calculated when there are more then 10 scenarios to run per worker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants