Skip to content

feat: Add back a process semaphore#24

Merged
johnchildren merged 3 commits into
masterfrom
limit-concurrent-processes
Jun 24, 2026
Merged

feat: Add back a process semaphore#24
johnchildren merged 3 commits into
masterfrom
limit-concurrent-processes

Conversation

@johnchildren

Copy link
Copy Markdown
Collaborator

Reverts the change that removed the process semaphore for async subprocesses as having too many processes in large test suites was causing resource exhaustion on Apple devices.

Adds a dependency on num_cpus to figure out an appropriate number of permits rather than just guessing 8 as before.

A similar change may be necessary for sync process management.

Reverts the change that removed the process semaphore for async
subprocesses as having too many processes in large test suites was
causing resource exhaustion on Apple devices.

Adds a dependency on num_cpus to figure out an appropriate number of
permits rather than just guessing 8 as before.

A similar change may be necessary for sync process management.
@johnchildren johnchildren requested a review from qfreewilll June 24, 2026 15:38
@johnchildren johnchildren changed the title feat: Add back process semaphore feat: Add back a process semaphore Jun 24, 2026
@johnchildren johnchildren merged commit 752f282 into master Jun 24, 2026
1 check passed
@johnchildren johnchildren deleted the limit-concurrent-processes branch June 25, 2026 15:36
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