Skip to content

Commit

Permalink
feat: log desired concurrency in the default status message
Browse files Browse the repository at this point in the history
  • Loading branch information
B4nan committed Jun 6, 2024
1 parent 195f176 commit 9f0b796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/basic-crawler/src/internals/basic-crawler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ export class BasicCrawler<Context extends CrawlingContext = BasicCrawlingContext
const total = this.requestQueue?.getTotalCount() || this.requestList?.length();
message = `Crawled ${this.stats.state.requestsFinished}${total ? `/${total}` : ''} pages, ${
this.stats.state.requestsFailed
} failed requests.`;
} failed requests, desired concurrency ${this.autoscaledPool?.desiredConcurrency ?? 0}.`;
}

if (this.statusMessageCallback) {
Expand Down

0 comments on commit 9f0b796

Please sign in to comment.