Skip to content

Commit

Permalink
feat: 429 retry
Browse files Browse the repository at this point in the history
Adds retry and backoff logic to HTTP client based on "retry-after" header.
  • Loading branch information
iamdexterpark committed Nov 4, 2022
1 parent 159ccdb commit f6e3ea3
Show file tree
Hide file tree
Showing 4 changed files with 380 additions and 9 deletions.
2 changes: 1 addition & 1 deletion build/meraki-openapi-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.26.0
v1.27.0
12 changes: 9 additions & 3 deletions client/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions client/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ go 1.13

require (
golang.org/x/oauth2 v0.0.0-20210323180902-22b0adad7558
github.com/hashicorp/go-retryablehttp v0.7.1
)
Loading

0 comments on commit f6e3ea3

Please sign in to comment.