mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-21 19:37:41 +00:00
don't retry on 403
This commit is contained in:
parent
5fa9bfaa45
commit
17c503e0e3
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ func (rac *AuthenticatedClient) request(ctx context.Context, r *Request, rh Resp
|
|||
|
||||
bb, rli, err := rac.doRequest(ctx, r)
|
||||
|
||||
if err != nil && r.retry {
|
||||
if err != nil && err != ErrOauthRevoked && r.retry {
|
||||
for _, backoff := range backoffSchedule {
|
||||
done := make(chan struct{})
|
||||
|
||||
|
|
Loading…
Reference in a new issue