Skip to content

Commit 15f9e55

Browse files
authored
docs: fix default values of maxClientErrors and snapshotHistorySecs (#3828)
The JSDoc `@default` tags for two `SnapshotterOptions` fields do not match the effective defaults in the `Snapshotter` constructor, so the generated API reference on crawlee.dev publishes the wrong values. Signed-off-by: Anas Khan <83116240+anxkhn@users.noreply.github.com>
1 parent cd1d136 commit 15f9e55

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/core/src/autoscaling/snapshotter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ export interface SnapshotterOptions {
4848
/**
4949
* Defines the maximum number of new rate limit errors within
5050
* the given interval.
51-
* @default 1
51+
* @default 3
5252
*/
5353
maxClientErrors?: number;
5454

5555
/**
5656
* Sets the interval in seconds for which a history of resource snapshots
5757
* will be kept. Increasing this to very high numbers will affect performance.
58-
* @default 60
58+
* @default 30
5959
*/
6060
snapshotHistorySecs?: number;
6161

0 commit comments

Comments
 (0)