Skip to main content
Version: 3.3

SnapshotterOptions

Index

Properties

optionalclientSnapshotIntervalSecs

clientSnapshotIntervalSecs?: number = <p>1</p>

Defines the interval of checking the current state of the remote API client.

optionaleventLoopSnapshotIntervalSecs

eventLoopSnapshotIntervalSecs?: number = <p>0.5</p>

Defines the interval of measuring the event loop response time.

optionalmaxBlockedMillis

maxBlockedMillis?: number = <p>50</p>

Maximum allowed delay of the event loop in milliseconds. Exceeding this limit overloads the event loop.

optionalmaxClientErrors

maxClientErrors?: number = <p>1</p>

Defines the maximum number of new rate limit errors within the given interval.

optionalmaxUsedMemoryRatio

maxUsedMemoryRatio?: number = <p>0.7</p>

Defines the maximum ratio of total memory that can be used. Exceeding this limit overloads the memory.

optionalsnapshotHistorySecs

snapshotHistorySecs?: number = <p>60</p>

Sets the interval in seconds for which a history of resource snapshots will be kept. Increasing this to very high numbers will affect performance.