Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

docs: fix default values of `maxClientErrors` and `snapshotHistorySecs` (#3828)

Anas Khan15f9e55560b3
diff --git a/packages/core/src/autoscaling/snapshotter.ts b/packages/core/src/autoscaling/snapshotter.ts
index 213b5bb33..edf502913 100644
--- a/packages/core/src/autoscaling/snapshotter.ts
+++ b/packages/core/src/autoscaling/snapshotter.ts
@@ -48,14 +48,14 @@ export interface SnapshotterOptions {
/**
* Defines the maximum number of new rate limit errors within
* the given interval.
- * @default 1
+ * @default 3
*/
maxClientErrors?: number;
/**
* Sets the interval in seconds for which a history of resource snapshots
* will be kept. Increasing this to very high numbers will affect performance.
- * @default 60
+ * @default 30
*/
snapshotHistorySecs?: number;