Skip to main content
Version: Next

EventLoopLoadSignalOptions

Tuning for the built-in event loop load signal, as accepted both by EventLoopLoadSignal and by the eventLoop shorthand on LoadSignalsOptions.

Index

Properties

optionalmaxBlockedMillis

maxBlockedMillis?: number = 50

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

optionaloverloadedRatio

overloadedRatio?: number = 0.6

Maximum ratio of overloaded snapshots in a sample before the event loop counts as overloaded.

optionalsnapshotIntervalSecs

snapshotIntervalSecs?: number = 0.5

Defines the interval of measuring the event loop response time, in seconds.