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
[filebeat][streaming] - Improved websocket exponential backoff logic to produce a smoother backoff curve (#44069)
The previous waitTime calculation for the exponential backoff strategy
produced an extremely sharp curve, where depending on the values of waitMin and
waitMax and number of attempts, the waitMax (cap) would be easily reached
after the initial couple of attempts thereby limiting the growth in the wait
time compared to the total number of attempts. Simply the waitTime growth
curve would hit the cap and flatten out after 1-2 retry attempts because of
uncapped jitter. This new change makes it such the waitTime growth curve
increases more smoothly with the number of attempts providing a smoother backoff
function.
0 commit comments