dfinity / ic-hs

A haskell toolbox for the Internet Computer
Apache License 2.0
35 stars 6 forks source link

retry on http status of 429 #215

Closed mraszyk closed 1 year ago

mraszyk commented 1 year ago

The IC might implement rate-limiting and respond with the http status code of 429 if the rate-limit is hit. This PR adds a retry loop for that error condition when submitting requests to the IC.