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
@moorereason@yjhmelody Just wondering, the forever retry option is good or bad for the client library since it will result in DoS behavior on targeted application/service.
SetRetryCount
allows values less than zero, but theBackoff
implementation assumesopts.maxRetries
is zero or greater. The result is thatBackoff
doesn't actually make a request but also doesn't return an error.Two options for a solution:
SetRetryCount
.math.MaxInt64
(retry forever) inSetRetryCount
.In either case,
Backoff
should be updated to return an error ifopts.maxRetries
is less than zero.Related to #392
The text was updated successfully, but these errors were encountered: