You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the case where the computed delay is larger than the maximum 32-bit signed integer (2 ** 31 - 1), a TimeoutOverflowWarning is emitted by setTimeout, the value 1 is assumed, and we end up waiting only 1 millisecond before retrying, which causes frequent retries.
I have worked around this issue by passing:
socket: {reconnect: {maxDelay: 2**31-1}}
The text was updated successfully, but these errors were encountered:
The
maxDelay
parameter defaults toInfinity
:fluent-logger-forward-node/src/socket.ts
Line 323 in 937ad65
fluent-logger-forward-node/src/event_retrier.ts
Line 57 in 937ad65
In the case where the computed delay is larger than the maximum 32-bit signed integer (
2 ** 31 - 1
), aTimeoutOverflowWarning
is emitted bysetTimeout
, the value1
is assumed, and we end up waiting only 1 millisecond before retrying, which causes frequent retries.I have worked around this issue by passing:
The text was updated successfully, but these errors were encountered: