Skip to content

Conversation

davvid
Copy link
Member

@davvid davvid commented Sep 27, 2024

No description provided.

"garden cmd" and custom commands can now run multiple commands in
parallel using rayon.

Garden will  use all available cores when "--jobs=0" is used.
The paradigm we are using is that the ApplicationContext must
be cloned per-thread in order to allow concurrent evaluation.

Closes: #43
Suggested-by: Johannes Rueschel @chbndrhnns on github.com
Default to "--jobs=0" (all cores) when only "-j" is specified.
This makes the "-j" option behavior more closely to "make".
@davvid davvid mentioned this pull request Sep 27, 2024
@davvid davvid merged commit 09c77c4 into main Sep 27, 2024
16 checks passed
@davvid davvid deleted the parallel branch September 27, 2024 05:25
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.

1 participant