Skip to content

Commit

Permalink
fix: concurrency scaling too quickly
Browse files Browse the repository at this point in the history
  • Loading branch information
Patai5 committed Jul 30, 2024
1 parent f0bb799 commit 45e9fb8
Showing 1 changed file with 2 additions and 0 deletions.
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

0 comments on commit 45e9fb8

Please sign in to comment.