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

fix(daemon): limit number of git children #9572

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

chris-olszewski
Copy link
Member

Description

This PR limits the amount of git child sub processes that the daemon can start at one time so we don't flood the system with requests when many things change e.g. a during a rebase.

Testing Instructions

Added quick unit test to make sure we're using semaphore correctly. Did a manual test on a big repo and confirmed that on big changes and made sure that the number of git processes remain in the single digits now.

Copy link

vercel bot commented Dec 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 5, 2024 4:43pm
8 Skipped Deployments
Name Status Preview Comments Updated (UTC)
examples-basic-web ⬜️ Ignored (Inspect) Dec 5, 2024 4:43pm
examples-designsystem-docs ⬜️ Ignored (Inspect) Dec 5, 2024 4:43pm
examples-gatsby-web ⬜️ Ignored (Inspect) Dec 5, 2024 4:43pm
examples-kitchensink-blog ⬜️ Ignored (Inspect) Dec 5, 2024 4:43pm
examples-native-web ⬜️ Ignored (Inspect) Dec 5, 2024 4:43pm
examples-svelte-web ⬜️ Ignored (Inspect) Dec 5, 2024 4:43pm
examples-tailwind-web ⬜️ Ignored (Inspect) Dec 5, 2024 4:43pm
examples-vite-web ⬜️ Ignored (Inspect) Dec 5, 2024 4:43pm

@chris-olszewski chris-olszewski marked this pull request as ready for review December 5, 2024 16:46
@chris-olszewski chris-olszewski requested a review from a team as a code owner December 5, 2024 16:46
@chris-olszewski chris-olszewski merged commit e7151e0 into main Dec 5, 2024
36 checks passed
@chris-olszewski chris-olszewski deleted the olszewski/fix_limit_git_procs branch December 5, 2024 17:56
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