You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No reason to keep a generic parallel task runner in the public contract of a scraping library
@internal on the class, AutoscaledPoolOptions and AutoscaledPoolPredicateOptions — same treatment Snapshotter/SystemStatus just got, the export stays for @crawlee/basic
IConcurrencySystem and ConcurrencyConsumer stay public, custom governors are still a supported story
Breaking, so 4.0 or never
Needs
crawler-level pause()/resume()/abort() — autoscaledPool is public mostly because that's the only way to pause a crawler
read-only concurrencySystem getter on the crawler — desiredConcurrency/currentConcurrency are otherwise unreachable when the crawler owns the default system
rename autoscaledPoolOptions, or hoist isTaskReadyFunction/isFinishedFunction to top-level crawler options
accept that maybeRunIntervalSecs/taskTimeoutSecs become unreachable — the crawler never forwarded them anyway
check that apify-sdk-js doesn't build a pool of its own
rewrite the AutoscaledPool part of the v4 upgrading guide, fix the stale ApiLink in guides/configuration.mdx
ConcurrencySystemowning all the concurrency/scaling configuration,AutoscaledPoolis left as a bare task loop thatBasicCrawleralways constructs itself@internalon the class,AutoscaledPoolOptionsandAutoscaledPoolPredicateOptions— same treatmentSnapshotter/SystemStatusjust got, the export stays for@crawlee/basicIConcurrencySystemandConcurrencyConsumerstay public, custom governors are still a supported storyNeeds
pause()/resume()/abort()—autoscaledPoolis public mostly because that's the only way to pause a crawlerconcurrencySystemgetter on the crawler —desiredConcurrency/currentConcurrencyare otherwise unreachable when the crawler owns the default systemautoscaledPoolOptions, or hoistisTaskReadyFunction/isFinishedFunctionto top-level crawler optionsmaybeRunIntervalSecs/taskTimeoutSecsbecome unreachable — the crawler never forwarded them anywayAutoscaledPoolpart of the v4 upgrading guide, fix the stale ApiLink inguides/configuration.mdx