Skip to main content
Version: 3.11

SnapshotterOptions

Index

Properties

optionalclientSnapshotIntervalSecs

clientSnapshotIntervalSecs?: number = 1

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

optionaleventLoopSnapshotIntervalSecs

eventLoopSnapshotIntervalSecs?: number = 0.5

Defines the interval of measuring the event loop response time.

optionalmaxBlockedMillis

maxBlockedMillis?: number = 50

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

optionalmaxClientErrors

maxClientErrors?: number = 1

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

optionalmaxUsedMemoryRatio

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

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

optionalsnapshotHistorySecs

snapshotHistorySecs?: number = 60

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