Skip to content

Commit

Permalink
Merge pull request #269 from flimzy/autoRetry
Browse files Browse the repository at this point in the history
Update documentation for how to use auto retry mode
  • Loading branch information
strideynet authored Nov 14, 2024
2 parents 2ac6923 + 4101ba8 commit 76100f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ https://godoc.org/golang.org/x/oauth2/google

The API will throttle your requests if you are sending them too rapidly.
The client can be configured to wait and re-attempt the request.
To enable this, set the `AutoRetry` field on the `Client` struct to `true`.
To enable this, pass the `WithRetry(true)` option to `New` when creating the client.

For more information, see Spotify [rate-limits](https://developer.spotify.com/documentation/web-api/concepts/rate-limits).

Expand Down

0 comments on commit 76100f4

Please sign in to comment.