Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only shuffle when fork is installed #142

Merged
merged 23 commits into from
Jul 14, 2023
Merged

Conversation

jesseleite
Copy link
Member

@jesseleite jesseleite commented Jul 13, 2023

Shuffling is intentional for balancing concurrent worker performance, but a good point was made in #136 (comment) about running non-deterministically and trying to work through page errors while generating a site.

Though we now have #137 to help with this type of workflow, the unpredictability of a shuffle only benefits the user when running concurrently with spatie/fork. This PR ensures the shuffle only happens when spatie/fork is detected.

@jesseleite jesseleite marked this pull request as draft July 13, 2023 21:20
@jasonvarga jasonvarga marked this pull request as ready for review July 14, 2023 13:42
@jasonvarga jasonvarga merged commit 740d414 into master Jul 14, 2023
@jasonvarga jasonvarga deleted the only-shuffle-when-concurrent branch July 14, 2023 13:55
thomaskenne pushed a commit to thomaskenne/ssg that referenced this pull request Feb 10, 2024
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.

3 participants