Skip to content

Commit da2dc89

Browse files
Do not retry on LimitExceededError (#1170)
1 parent 5abda4d commit da2dc89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/internal_retry.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ func isServiceTransientError(err error) bool {
7272
*s.QueryFailedError,
7373
*s.DomainNotActiveError,
7474
*s.CancellationAlreadyRequestedError,
75-
*s.ClientVersionNotSupportedError:
75+
*s.ClientVersionNotSupportedError,
76+
*s.LimitExceededError:
7677
return false
7778
}
7879

@@ -82,6 +83,5 @@ func isServiceTransientError(err error) bool {
8283

8384
// s.InternalServiceError
8485
// s.ServiceBusyError
85-
// s.LimitExceededError
8686
return true
8787
}

0 commit comments

Comments
 (0)