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: concurrency scaling too quickly #70

Merged
merged 2 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions code/src/crawler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ export const createCrawler = async (config: Config) => {
headless: true,
},
},
/** The default values scale up and down too quickly for larger runs, these values are half that */
autoscaledPoolOptions: { scaleDownStepRatio: 0.025, scaleUpStepRatio: 0.025 },
retryOnBlocked: true,
requestHandlerTimeoutSecs: 3 * 60,
proxyConfiguration,
Expand Down
3 changes: 3 additions & 0 deletions shared/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ This changelog tracks updates to both GTP Scraper and Extended GPT Scraper actor
- Set this model as the default one for the the *Pay Per Result* scraper with a set token limit.
- With this, the maximum token limit for the *Pay Per Result* scraper was increased by 150%.

*Fixes*
- Fixed concurrency scaling issues that were causing the Actor to fail due to scaling too quickly.

# 2024-05-20
*Features*
- Added support for GPT-4o model. (Extended GPT Scraper only)
Expand Down
Loading