Skip to content

feat: limit the number of concurrent child runs - #842

Open
barjin wants to merge 13 commits into
masterfrom
feat/max-concurrent-child-runs
Open

barjin wants to merge 13 commits into
masterfrom
feat/max-concurrent-child-runs

Conversation

@barjin

@barjin barjin commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Adds a maxConcurrentChildRuns option to Actor.init() that makes child run starts wait while that many child runs are in progress, counting runs without runName only within the current process.

Closes #741

@github-actions github-actions Bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Nov 2, 2026
@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

✅ The link checker did not find any broken links.

See more at https://github.com/apify/apify-sdk-js/actions/runs/42199840371#summary-127832118313

@barjin
barjin force-pushed the feat/max-concurrent-child-runs branch from 8957c00 to 3eb2a3a Compare November 6, 2026 10:16
@barjin
barjin changed the base branch from master to feat/track-unnamed-child-runs November 6, 2026 10:16
Adds a `maxConcurrentChildRuns` option to `Actor.init()` that makes named starts and resurrections wait while that many named child runs are in progress.

Closes #741
@barjin
barjin force-pushed the feat/max-concurrent-child-runs branch from 3eb2a3a to d9b07ac Compare November 6, 2026 10:28
@barjin
barjin changed the base branch from feat/track-unnamed-child-runs to master November 6, 2026 10:28
@barjin barjin changed the title feat: limit the number of concurrent named child runs feat: limit the number of concurrent child runs Nov 6, 2026
@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

✅ The link checker did not find any broken links.

See more at https://github.com/apify/apify-sdk-js/actions/runs/42229680832#summary-127932055858

@barjin
barjin marked this pull request as ready for review November 6, 2026 14:19
@apify-service-account apify-service-account added the tested Temporary label used only programatically for some analytics. label Nov 6, 2026
@github-actions

github-actions Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

✅ The link checker did not find any broken links.

See more at https://github.com/apify/apify-sdk-js/actions/runs/42237303047#summary-127958404814

@barjin
barjin requested review from janbuchar and vdusek November 6, 2026 15:24
@vdusek

vdusek commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

One thing we should decide is whether to support this for unnamed runs as well (partially?). Let's continue in this thread so the discussion stays in one place - apify/apify-sdk-python#1154 (comment).

This branch has not been deployed

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

Labels

t-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Limit the number of concurrent child runs

3 participants