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
feat(agent): randomize retry-after interval when header is undefined
This commit enhances the client’s retry logic by replacing a fixed
fallback wait time with a randomized interval whenever the server does
not supply a Retry-After header. Instead of always pausing for 5
seconds, the code now computes a random duration between 5 seconds and
65 seconds. This change helps distribute retry attempts more evenly
across clients, mitigating the risk of simultaneous reconnections (the
“thundering herd” problem) when a service becomes available again.
0 commit comments