Skip to content

Comments

Add error handling and configurable retries to curl calls#1

Open
heatherbooker wants to merge 3 commits intodevelopfrom
feature/retry-and-better-errors
Open

Add error handling and configurable retries to curl calls#1
heatherbooker wants to merge 3 commits intodevelopfrom
feature/retry-and-better-errors

Conversation

@heatherbooker
Copy link

I mashed together @aleveille and @avanier 's commits to improve the rate-limiting situation on this resource (all credit to them!).

They:

  • Improved the error messages if the status request fails
  • Added retries for both operations (in/out)
  • Made the retry count + timing configurable

I removed the retry from the out operation, since now it's covered by the common file. It was originally added in dpb587/github-status-resource/pull/4. I'm not sure if I should remove all the code (and the test) that was added in that PR?

@heatherbooker heatherbooker force-pushed the feature/retry-and-better-errors branch from 4746c09 to 2aaecb2 Compare June 20, 2019 16:28
Copy link

@aleveille aleveille left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove me from the list of reviewers :)
Have a nice day!

@heatherbooker
Copy link
Author

Hm I'm not sure why, but I can't remove you. Sorry! ><

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants